diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-18 12:11:45 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-01-18 12:22:27 +0900 |
commit | 5c624d0c1cc46354ebea3b78f023b82002ba848e (patch) | |
tree | 09b4c4852ad827636dbe046958a57737f81d77f7 /activerecord/CHANGELOG.md | |
parent | af5dd491b5e204570aac84eb828ea7d5b1e6f7e9 (diff) | |
download | rails-5c624d0c1cc46354ebea3b78f023b82002ba848e.tar.gz rails-5c624d0c1cc46354ebea3b78f023b82002ba848e.tar.bz2 rails-5c624d0c1cc46354ebea3b78f023b82002ba848e.zip |
Remove `initialize_schema_migrations_table` and `initialize_internal_metadata_table` internal public methods
These internal methods accidentally appeared in the doc, and so almost
useless. It is enough to create these internal tables directly, and
indeed do so in several places.
https://github.com/rails/rails/blob/v5.0.1/activerecord/lib/active_record/schema.rb#L55
https://github.com/rails/rails/blob/v5.0.1/activerecord/lib/active_record/railties/databases.rake#L6
https://github.com/rails/rails/blob/v5.0.1/activerecord/lib/active_record/tasks/database_tasks.rb#L230
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 3d299f6233..f833ed21e3 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,12 +1,17 @@ -* Place generated migrations into the path set by `config.paths["db/migrate"]` +* Remove `initialize_schema_migrations_table` and `initialize_internal_metadata_table` + internal public methods. + + *Ryuta Kamizono* + +* Place generated migrations into the path set by `config.paths["db/migrate"]`. *Kevin Glowacz* - + * Raise `ActiveRecord::InvalidForeignKey` when a foreign key constraint fails on Sqlite3. *Ryuta Kamizono* -* Add the touch option to ActiveRecord#increment! and decrement! +* Add the touch option to ActiveRecord#increment! and decrement!. *Hiroaki Izu* @@ -15,9 +20,9 @@ *Kir Shatrov* -* Raise error when has_many through is defined before through association +* Raise error when has_many through is defined before through association. - Fixes #26834 + Fixes #26834. *Chris Holmes* |