updated migration files to run correctly production and development