-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Deprecate supports_migrations?
on connection adapters
#28172
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@kamipo are we sure that all the major third-party adapters support migrations too? Also are there any schema-less databases with AR adapters that might make use of this? |
kamipo
force-pushed
the
deprecate_supports_migrations
branch
from
February 26, 2017 18:15
6510a5c
to
322a4a1
Compare
Definitely - you could write all your migrations use |
Thanks for the additional research @kamipo 👍 |
koic
added a commit
to koic/oracle-enhanced
that referenced
this pull request
Feb 27, 2017
Edouard-chin
added a commit
to Edouard-chin/activerecord-session_store
that referenced
this pull request
Dec 1, 2017
- This method is deprecated as of Rails 5.1. All tested databases seems to supports migrations since at least rails/rails@a4fc93c - Ref rails/rails#28172
bgeuken
added a commit
to bgeuken/open-build-service
that referenced
this pull request
May 23, 2018
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
bgeuken
added a commit
to bgeuken/open-build-service
that referenced
this pull request
May 23, 2018
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
Nov 24, 2018
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
Nov 24, 2018
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
May 25, 2019
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
Apr 26, 2020
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
Apr 26, 2020
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
May 8, 2020
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
Jun 30, 2020
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
Aug 15, 2020
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
OlegGirko
pushed a commit
to OlegGirko/open-build-service
that referenced
this pull request
Sep 24, 2020
The supports_migrations? method got deprecated in Rails 5.1 and now got removed. Since OBS only supports the MySQL adapter and we know that this one supports migration dumps, we don't need this check anyway. See rails/rails#28172 for details.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
supports_migrations?
was added at 4160b51 to determine if schemastatements (
create_table
,drop_table
, etc) are implemented in theadapter. But all tested databases has been supported migrations since
a4fc93c at least.