aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Expand)AuthorAgeFilesLines
...
* | `foreign_key` respects `table_name_prefix` and `table_name_suffix`Ryuta Kamizono2016-04-191-0/+30
* | Add test to verify named unique index, when creating reference via add_referenceVipul A M2016-04-161-0/+5
|/
* Merge pull request #23419 from prathamesh-sonpatki/fix-showing-of-deprecation...Matthew Draper2016-02-231-1/+13
|\
| * Fix random failures of tests on TravisPrathamesh Sonpatki2016-02-121-1/+1
| * Correctly show deprecation warning for incompatible migrationsPrathamesh Sonpatki2016-02-121-0/+12
* | Merge pull request #23614 from georgemillo/foreign_keyYves Senn2016-02-161-0/+16
|\ \ | |/ |/|
| * Let t.foreign_key use the same `to_table` twiceGeorge Millo2016-02-151-0/+20
|/
* Merge pull request #23359 from kamipo/make_to_primary_keyRafael França2016-02-011-24/+0
|\
| * Make to primary key instead of an unique index for internal tablesRyuta Kamizono2016-01-311-24/+0
* | Added test for backward compatibility of null constraints on timestamp columnsPrathamesh Sonpatki2016-01-311-0/+30
|/
* Pare back default `index` option for the migration generatorPrathamesh Sonpatki2016-01-244-11/+29
* fix remove_index for postgresql when running legacy migrationsLachlan Sylvester2016-01-061-0/+16
* Remove unnecessary enable,disable_extension on testsFumiaki MATSUSHIMA2016-01-021-2/+0
* Remove legacy mysql adapterRyuta Kamizono2015-12-211-2/+0
* Merge pull request #19456 from greysteil/index-exists-behaviourMatthew Draper2015-12-182-0/+52
|\
| * Support removing custom-names indexes when only specifying column namesGrey Baker2015-12-152-0/+50
| * Ignore index name in `index_exists?` when not passed a name to check forGrey Baker2015-12-151-0/+2
* | Remove legacy mysql adapterAbdelkader Boudih2015-12-176-10/+10
|/
* Internal test migrations use the private 'Current' versionMatthew Draper2015-12-152-3/+3
* Move `migration/postgresql_geometric_types_test.rb` in `adapters/postgresql/g...Ryuta Kamizono2015-11-241-93/+0
* Deprecate `#table_exists?`, `#tables` and passing arguments to `#talbes`yui-knk2015-11-094-16/+18
* `:to_table` when adding a fk through `add_reference`.Yves Senn2015-10-131-0/+9
* tests, use `if_exists: true` instead of `rescue nil`.Yves Senn2015-09-221-1/+1
* Support for foreign keys in create tableRyuta Kamizono2015-09-201-0/+8
* Removed mocha from Active Record Part 2Ronak Jangir2015-09-161-1/+2
* no more require minitest mockGaurav Sharma2015-08-272-2/+0
* Merge pull request #20459Sean Griffin2015-08-061-0/+93
|\
| * Add missing data types for ActiveRecord migrationsMehmet Emin İNAÇ2015-06-081-0/+93
* | Merge pull request #20699 from vngrs/foreign_key_with_table_name_suffix_and_p...Rafael Mendonça França2015-06-271-0/+31
|\ \
| * | Add table name prefix and suffix support to add_foreign_key and remove_foreig...Mehmet Emin İNAÇ2015-06-251-0/+31
* | | Add reversible syntax for change_column_defaultPrem Sichanugrist2015-06-262-0/+17
|/ /
* | make `remove_index :table, :column` reversible.Yves Senn2015-06-151-0/+5
* | Add an invert method for remove_foreign_keyAster Ryan2015-06-111-1/+30
|/
* Map :bigint as NUMBER(19) sql_type by using `:limit => 19` for OracleYasuo Honda2015-06-011-1/+1
* test, for `create_table` and `foreign_key: true` no-op. Closes #19794.Yves Senn2015-04-271-0/+20
* use singular table name if pluralize_table_names is setted as false while cre...Mehmet Emin İNAÇ2015-04-061-0/+22
* Closes rails/rails#18864: Renaming transactional fixtures to transactional testsBrandon Weiss2015-03-166-6/+6
* tests, favor `drop_table` and `:if_exists` over raw SQL.Yves Senn2015-03-021-1/+1
* The short-hand methods should be able to define multiple columnsRyuta Kamizono2015-02-231-1/+19
* Extract the short-hand methods into `ColumnMethods`Ryuta Kamizono2015-02-231-0/+8
* Extract `primary_key` method into `ColumnMethods`Ryuta Kamizono2015-02-221-0/+7
* `Type#type_cast_from_database` -> `Type#deserialize`Sean Griffin2015-02-172-5/+5
* Merge pull request #18662 from estum/foreign-key-existsYves Senn2015-02-161-0/+21
|\
| * Add `foreign_key_exists?` method.Anton2015-01-241-0/+21
* | tests, remove unused requires.Yves Senn2015-02-121-1/+0
* | prefer `drop_table :table, if_exists: true` over explicit checks.Yves Senn2015-02-111-2/+2
* | add test to ensure `remove_reference` with index and fk is invertable.Yves Senn2015-02-111-0/+5
* | fix `remove_reference` with `foreign_key: true` on MySQL. #18664.Yves Senn2015-02-111-0/+10
* | Add `auto_increment?` instead of `extra == 'auto_increment'`Ryuta Kamizono2015-02-081-1/+1
* | Merge pull request #18526 from vipulnsward/add-silence-streamRafael Mendonça França2015-02-051-11/+2
|\ \