aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration
Commit message (Expand)AuthorAgeFilesLines
* `respond_to_missing?` should be privateRyuta Kamizono2017-04-221-6/+6
* Start Rails 5.2 developmentMatthew Draper2017-03-221-1/+4
* The `default` arg of `index_name_exists?` makes to optionalRyuta Kamizono2017-02-131-2/+2
* `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-071-1/+35
* Restore the behaviour of the compatibility layer for integer-like PKsRyuta Kamizono2017-02-041-0/+6
* Tweak bigint PK handlingMatthew Draper2017-01-181-2/+1
* Fix UUID primary key with default nil in legacy migrationRyuta Kamizono2017-01-091-1/+1
* Raises when `ActiveRecord::Migration` is inherited directly.Rafael Mendonça França2016-12-291-41/+21
* Remove unnecessary `connection_name` variableRyuta Kamizono2016-12-061-2/+1
* Make pg adapter use bigserial for pk by defaultPavel Pravosud2016-12-051-1/+11
* For `PostgreSQL >= 9.4` use `gen_random_uuid()`Yaw Boakye2016-11-221-0/+8
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-1/+1
* Fix broken heredoc indentation caused by rubocop auto-correctRyuta Kamizono2016-09-031-4/+4
* Override `respond_to_missing?` instead of `respond_to?` when possibleSean Griffin2016-08-311-1/+1
* Avoid to allow unused splat args for `t.timestamps` in `create_table`Ryuta Kamizono2016-08-141-2/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-063-106/+106
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
* Add migration compatibility class for Rails 5.1Rafael Mendonça França2016-05-101-1/+4
* Migrations: move version-finding responsibilityyui-knk2016-04-291-0/+10
* Update compatibility.rbBogdan2016-03-261-1/+1
* Correctly show deprecation warning for incompatible migrationsPrathamesh Sonpatki2016-02-121-1/+1
* Intervene on change_table as well as create_tableMatthew Draper2016-01-301-0/+13
* Pare back default `index` option for the migration generatorPrathamesh Sonpatki2016-01-241-0/+12
* fix remove_index for postgresql when running legacy migrationsLachlan Sylvester2016-01-061-2/+3
* Support removing custom-names indexes when only specifying column namesGrey Baker2015-12-151-0/+25
* Ignore index name in `index_exists?` when not passed a name to check forGrey Baker2015-12-151-0/+11
* In 4.2 migrations, `timestamps` defaulted to `null: true`Matthew Draper2015-12-151-0/+24
* Add migration versioning via Migration subclassesMatthew Draper2015-12-151-0/+30
* adding basic change_column and remove_columns in CommandRecorder documentatio...Gaurav Sharma2015-09-291-0/+2
* Merge pull request #21412 from yui-knk/feature/irreversible_migration_error_msgYves Senn2015-09-041-1/+6
|\
| * Add detailed error message to `IrreversibleMigration`yui-knk2015-08-301-1/+6
| * Add detailed error message to `IrreversibleMigration`yui-knk2015-08-281-1/+1
| * Add detailed error message to `IrreversibleMigration`yui-knk2015-08-281-1/+1
* | Merge pull request #21432 from yui-knk/fix/what_change_method_can_reverseSean Griffin2015-08-301-1/+13
|\ \
| * | [ci skip] Update what methods `Migration#change` can reverseyui-knk2015-08-311-1/+13
* | | Merge pull request #21429 from yui-knk/fix/revert_disable_extensionSean Griffin2015-08-301-1/+1
|\ \ \ | |/ / |/| |
| * | Make revert of `disable_extension` to workyui-knk2015-08-301-1/+1
| |/
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-08-301-1/+1
|\ \ | |/ |/|
| * [ci skip] Capitalize commentsyui-knk2015-08-291-1/+1
* | Make `change_column_default` to workyui-knk2015-08-251-8/+8
|/
* Add reversible syntax for change_column_defaultPrem Sichanugrist2015-06-261-1/+11
* make `remove_index :table, :column` reversible.Yves Senn2015-06-151-7/+9
* Add an invert method for remove_foreign_keyAster Ryan2015-06-111-0/+10
* Merge pull request #16305 from tomkadwill/documented_change_tableRafael Mendonça França2014-07-281-1/+1
|\
| * Added nodoc to change_tableTom Kadwill2014-07-281-1/+1
* | create_join_table uses same logic as HABTM reflectionsStefan Kanev2014-07-181-1/+1
* | fk: review corrections: indent, visibility, syntax, wording.Yves Senn2014-06-261-3/+3
* | fk: infere column name from table names.Yves Senn2014-06-261-1/+3
* | fk: make `add_foreign_key` reversible.Yves Senn2014-06-261-1/+16
|/
* Drop the correct index after reverting a migrationHubert Dąbrowski2014-02-131-1/+6