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

Allow setting migration_table per environment #1961

Merged
merged 4 commits into from
Feb 24, 2021
Merged

Allow setting migration_table per environment #1961

merged 4 commits into from
Feb 24, 2021

Conversation

MasterOdin
Copy link
Member

@MasterOdin MasterOdin commented Feb 24, 2021

Closes #1814

This sets it so that it is now possible to set the migration table per environment, falling back to the default_migration_table if one is not set for that environment. I think this is probably a more elegant solution to things. As part of this change, the AbstractAdapter now expects the migration_table to be used as an option instead of default_migration_table, though both are allowed, with the latter throwing a deprecation warning.

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
@MasterOdin MasterOdin changed the title Mpeveler feat migration table Allow setting migration_table per environment Feb 24, 2021
@dereuromark dereuromark merged commit 6a66b88 into cakephp:0.next Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants