aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/references_foreign_key_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove `NoForeignKeySupportTest` which is no longer reachedRyuta Kamizono2019-02-161-20/+0
* SQLite3: Implement `add_foreign_key` and `remove_foreign_key`Ryuta Kamizono2019-02-111-4/+7
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-16/+14
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Remove FK together with column in MySQLKir Shatrov2017-06-161-0/+10
* Fix `remove_reference` to multiple foreign keys in the same tableRyuta Kamizono2017-02-111-0/+16
* `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-071-12/+7
* SQLite: Foreign Key SupportRyuta Kamizono2017-01-171-2/+20
* Change MySQL and Postgresql to use Bigint primary keysJon McCartie2016-12-051-4/+4
* Add three new rubocop rulesRafael Mendonça França2016-08-161-2/+2
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-157/+157
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-3/+3
* `foreign_key` respects `table_name_prefix` and `table_name_suffix`Ryuta Kamizono2016-04-191-0/+30
* 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
|/
* Pare back default `index` option for the migration generatorPrathamesh Sonpatki2016-01-241-2/+2
* Deprecate `#table_exists?`, `#tables` and passing arguments to `#talbes`yui-knk2015-11-091-1/+1
* `:to_table` when adding a fk through `add_reference`.Yves Senn2015-10-131-0/+9
* Support for foreign keys in create tableRyuta Kamizono2015-09-201-0/+8
* 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
* prefer `drop_table :table, if_exists: true` over explicit checks.Yves Senn2015-02-111-2/+2
* fix `remove_reference` with `foreign_key: true` on MySQL. #18664.Yves Senn2015-02-111-0/+10
* Replace `if exists` with `table_exists?` and drop table statement with `drop_...Yasuo Honda2015-01-211-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