Migrate all databases to postgres