migrated all environments to postgresql