Home Rails db:schema:load in production when migration files deleted
Reply: 0

Rails db:schema:load in production when migration files deleted

Clement
1#
Clement Published in 2018-01-12 12:58:06Z

I've removed my migration files thinking that it shouldn't matter since I could load from the schema. However, I'm getting warnings in heroku that it could be destructive.

Is there a safer way to update your db from the schema when your migration files are deleted?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.312402 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO