migrations to deal with switch from sqlite to pg