dresende / node-orm2

Object Relational Mapping
http://github.com/dresende/node-orm2
MIT License
3.07k stars 379 forks source link

Table modifcation #703

Closed jorawarsingh closed 8 years ago

jorawarsingh commented 8 years ago

hi first of all nice jobb, one question what about table modification? Are you working on that?

dxg commented 8 years ago

Do you mean .sync to add columns etc for existing tables? There was some work done on this, however it turned out not to be supported on some database engines and so currently it is disabled in the code. I recommend using migrations instead; search for "migrations" in the readme.

jorawarsingh commented 8 years ago

yes but even changing names of colmns and types.

dxg commented 8 years ago

Migrations can do that.