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
changefunction in the migrations and the migrator can automatically roll back actions like creating a column or index. You can also optionally use anupanddownmethod or a special function inside thechangefunction 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