balderdashy/sails — pull request #2110 by Globegitter (2014-08-13 11:54:35+00:00)
Title: Added sails migrate to Roadmap

I really think that the process of getting to a production environment, especially when using MySQL or PostgreSQL can be improved. I love auto-migrations on sails lift and I can also understand that they are not run during production, but I think we should implement a separate command that just this whole process more automated while keeping it save at the same time.
This is still more than open for discussion, in fact I haven't fully thought through of all the use cases.
The most simple would be just having a `create-db` command which just runs auto-migrations on a fresh production system. But that would not support any changes to the model, so I think a `sails migrate` command would be preferable but I am not sure yet how that would work when you run this to try and update a model.
So any feedback, if that is even useful, or if there is a better way to do it and how it should be done is appreciated.