aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Expand)AuthorAgeFilesLines
* 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
* fk: rename `dependent` to `on_delete`Yves Senn2014-06-261-13/+13
* fk: infere column name from table names.Yves Senn2014-06-262-2/+29
* fk: make `add_foreign_key` reversible.Yves Senn2014-06-262-0/+39
* fk: support dependent option (:delete, :nullify and :restrict).Yves Senn2014-06-261-0/+42
* fk: dump foreign keys to schema.rbYves Senn2014-06-261-0/+7
* fk: `:primary_key` option for non-standard pk's.Yves Senn2014-06-261-0/+20
* fk: generalize using `AlterTable` and `SchemaCreation`.Yves Senn2014-06-261-2/+4
* fk: `foreign_keys`, `add_foreign_key` and `remove_foreign_key` for MySQLYves Senn2014-06-261-0/+5
* fk: add `foreign_keys` for PostgreSQL adapter.Yves Senn2014-06-261-7/+27
* fk: `add_foreign_key` and `remove_foreign_key` for PostgreSQL adapter.Yves Senn2014-06-261-0/+49
* Merge pull request #15782 from sgrif/sg-column-defaultsMatthew Draper2014-06-182-12/+19
|\
| * Don't type cast the default on the columnSean Griffin2014-06-172-12/+19
* | Merge pull request #15727 from aditya-kapoor/add-tests-for-migrationMatthew Draper2014-06-181-0/+17
|\ \ | |/ |/|
| * Add test cases for Migration#inverse_ofAditya Kapoor2014-06-171-0/+17
* | Merge pull request #13963 from lucas-clemente/pending_migrationsRafael Mendonça França2014-06-161-0/+50
|\ \
| * | skip migration check if adapter doesn't support itLucas Clemente2014-04-191-0/+50
* | | /mysql/i -> MySQL, Spell correct in continuation to #15555Akshay Vishnoi2014-06-142-2/+2
| |/ |/|
* | pg, `reset_pk_sequence!` respects schemas. Closes #14719.Yves Senn2014-05-301-1/+1
* | fix `rake test_sqlite3_mem`.Yves Senn2014-05-201-0/+1
* | Remove :timestamp column typeSean Griffin2014-05-191-0/+17
* | Make `:index` in migrations work with all column typesMarc Schütz2014-05-181-0/+10
* | Remove dead test code for unsupported adaptersSean Griffin2014-05-174-76/+45
|/
* test, show current adapter behavior for `add_column limit: nil`.Yves Senn2014-04-041-0/+8
* Use teardown helper method.Guo Xiang Tan2014-03-147-13/+7
* Drop the correct index after reverting a migrationHubert Dąbrowski2014-02-131-3/+3
* make `change_column_null` reversible. Closes #13576.Yves Senn2014-01-081-0/+16
* Make change_table use object of current database adapterNishant Modak2014-01-071-1/+2
* Change all `MiniTest` to `Minitest` since, `MiniTest` namespace has been rena...Vipul A M2013-12-181-1/+1