Answer the question
In order to leave comments, you need to log in
How to add a new table to a RoR application on Heroku where there is already data and not lose it?
There is a ruby on rails app hosted on heroku with data already loaded. You need to add a new table without losing data.
How can I do that?
Answer the question
In order to leave comments, you need to log in
By adding a table, you will not lose data.
Create a migration with your table, run it on heroku.
Restart the application.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question