Migrations like Ruby on Rails #48123
Unanswered
TheBlckbird
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Would it be backwards compatible with the existing implementation? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Rails uses a system where they only have a
change
function in the migrations and the migrator can automatically roll back actions like creating a column or index. You can also optionally use anup
anddown
method or a special function inside thechange
function for actions that the migrator can't roll back automatically.Look at the Rails docs for more information
This should be fairly easy to implement, and I could maybe do it if desired.
Beta Was this translation helpful? Give feedback.
All reactions