keithwhor / nodal

API Services Made Easy With Node.js
http://www.nodaljs.com/
MIT License
4.51k stars 209 forks source link

How to add/remove fields to/from an existing model? #238

Closed lukasbuenger closed 8 years ago

lukasbuenger commented 8 years ago

Imho one of the key requirements of a migration solution is the ability to mutate existing model schemata. While I'm perfectly aware of the fact that this is very much non-trivial I still would like to know if there are any plans on that.

keithwhor commented 8 years ago

No sweat! We actually already support this.

https://github.com/keithwhor/nodal/wiki/Adding-new-fields---columns-to-an-existing-model

:) Just not well-documented as of right now. Thanks for pointing this out.