PhilWaldmann / openrecord

Make ORMs great again!
https://openrecord.js.org
MIT License
486 stars 38 forks source link

Rolling back a migration #56

Closed joeyparis closed 6 years ago

joeyparis commented 6 years ago

Is there any way to easily rollback a migration from outside of the internal source code?

PhilWaldmann commented 6 years ago

Hi,

nope, sorry. There is currently no cli or similar to do this.

arthurfranca commented 6 years ago

Maybe it would be a good idea to tell on docs that using Openrecord's migration feature is optional. Found out that there's no need to set migrations: 'path/to/my/migrations/*' as one can use any migration tool it likes.

I myself used pg-migrate

ORM-wise, openrecord is the best one out there after testing many other node orm contenders.

PhilWaldmann commented 6 years ago

The new docs will cover that. thanks