add migrations to become compatible with postgres database