Changing migration script for PG