aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Expand)AuthorAgeFilesLines
* 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
* Use type column first in multi-column indexesDerek Prior2014-10-242-3/+3
* add table.bigint supportAaron Patterson2014-10-151-0/+19
* Replace drop sql statement to drop_table methodYasuo Honda2014-09-111-2/+2
* Added enable_extension! to helperAbdelkader Boudih2014-09-051-1/+2
* Remove 'if exists' from drop table statement then use `table_exists?`Yasuo Honda2014-09-031-2/+2
* Bring original puts back after finishing testsAkira Matsuda2014-08-291-4/+0
* Merge pull request #16481 from sgrif/sg-change-default-timestampsDavid Heinemeier Hansson2014-08-173-5/+8
|\
| * Change the default `null` value for timestampsSean Griffin2014-08-123-5/+8
* | Be sure to reset PK name renamed in the testAkira Matsuda2014-08-151-0/+3
* | `index_exists?` with `:name` checks specified columns.Yves Senn2014-08-131-0/+6
|/
* rename MiniTest to MinitestRajarshi Das2014-08-021-2/+2
* Merge pull request #16231 from Envek/type_in_referencesYves Senn2014-07-222-0/+19
|\
| * Allow to specify a type for foreign key column in migrationsAndrey Novikov2014-07-222-0/+24
|/
* create_join_table uses same logic as HABTM reflectionsStefan Kanev2014-07-181-0/+24
* Disable some tests on SQLiteRafael Mendonça França2014-07-171-77/+77
* do not hold on to a stale connection object. fixes #15998Aaron Patterson2014-07-011-2/+5
* rename sequence only if it existsAbdelkader Boudih2014-06-271-0/+10
* fk: use random digest namesYves Senn2014-06-261-14/+17
* fk: raise for invalid :on_update / :on_delete valuesYves Senn2014-06-261-0/+10
* fk: `add/remove_foreign_key` are noop for adapters that don't support fkYves Senn2014-06-261-0/+24
* fk: raise when identifiers are longer than `allowed_index_name_length`.Yves Senn2014-06-261-0/+9
* fk: support for on_updateYves Senn2014-06-261-3/+13