keithwhor / nodal

API Services Made Easy With Node.js

Home Page:http://www.nodaljs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

lukasbuenger opened this issue · comments

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.

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.