Re:Show HN: Expressa – build REST apis without code
by thomas4019 on Wednesday March 15, 2017 @02:30AM
(#13874216)
Thanks for bringing this up. Currently there's no migration process. Like Mongo, Expressa only ensures validity of new data, but doesn't change old data so it's up to the application to handle that.
This is definitely something I would like to eventually support though so that renaming fields and other data changes are easy.
One point I would like some clarity on is the migration process. Assuming I use this for a production application, how do I maintain changes of my model schemas, and how are these migrations applied? Can I rollback?
I think a solid story on these would make a library like this extremely attractive. (One of the reasons Rails enjoys developer mindshare is it's amazing migrations workflow).