Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin/cake bake migration_snapshot should use change instead of up and down #473

Open
geoidesic opened this issue Oct 12, 2020 · 1 comment

Comments

@geoidesic
Copy link

According to the docs, change is the new preferred format. So Bake should produce this format for migrations. Currently it produces up and down.

@markstory markstory transferred this issue from cakephp/bake Oct 13, 2020
@dereuromark
Copy link
Member

dereuromark commented Feb 21, 2024

Change has one major disadvantage:
It cannot be reversed (rollback).

Maybe there could be an option added? --change
To use that instead of up/down?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants