aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Expand)AuthorAgeFilesLines
* 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
|\ \
| * | - Extracted silence_stream method to new module in activesupport/testing.Vipul A M2015-01-201-11/+2
* | | Generate consistent names for foreign keysChris Sinjakli2015-02-031-2/+2
* | | Remove most type related predicates from `Column`Sean Griffin2015-01-302-5/+5
| |/ |/|
* | Replace `if exists` with `table_exists?` and drop table statement with `drop_...Yasuo Honda2015-01-211-2/+2
* | tests, use `drop_table if_exists: true` in our test suite.Yves Senn2015-01-204-7/+7
* | Add an `:if_exists` option to `drop_table`Stefan Kanev2015-01-191-0/+11
* | Remove unused accessorRyuta Kamizono2015-01-191-1/+1
|/
* Use IO::NULL alwaysNobuyoshi Nakada2015-01-101-1/+1
* Add firebird support to test suiteRay Zane2015-01-051-18/+20
* Change the default `null` value for `timestamps` to `false`Rafael Mendonça França2015-01-041-10/+7
* Remove deprecated methods at `Kernel`.Rafael Mendonça França2015-01-041-1/+13
* Prefer `array?` rather than `array`Ryuta Kamizono2015-01-041-2/+2
* Don't wrap `create_table` in a transaction for tests which run on MySQLSean Griffin2014-12-221-3/+1
* Add `foreign_key` as an option to `references` for `change_table`Sean Griffin2014-12-221-0/+43
* Add a `foreign_key` option to `references` while creating the tableSean Griffin2014-12-221-0/+60
* `force: :cascade` to recreate tables referenced by foreign-keys.Yves Senn2014-12-191-0/+31
* Failure to rollback t.timestamps when within a change_table migrationnoam2014-12-032-4/+4
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-6/+6
* raise a better exception for renaming long indexesAaron Patterson2014-11-201-0/+14
* Support symbol foreign key to deletedtaniwaki2014-11-191-0/+8
* Force table creation in testsSean Griffin2014-11-171-2/+2
* add a Table#name accessor like TableDefinition#nameCody Cutrer2014-11-101-0/+6