aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/foreign_key_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Respect table name prefix/suffix for `truncate_all`Ryuta Kamizono2019-04-041-1/+1
* Just inherit `ForeignKeyChangeColumnTest` for with prefix/suffix testsRyuta Kamizono2019-03-071-17/+5
* Allow `remove_foreign_key` with both `to_table` and `options`Ryuta Kamizono2019-03-061-0/+12
* Remove `NoForeignKeySupportTest` which is no longer reachedRyuta Kamizono2019-02-161-26/+0
* Add `remove_foreign_key` for `change_table`Ryuta Kamizono2019-02-111-0/+11
* SQLite3: Implement `add_foreign_key` and `remove_foreign_key`Ryuta Kamizono2019-02-111-10/+31
* More exercise table name prefix and suffix testsRyuta Kamizono2019-02-111-25/+81
* SQLite3: Fix rename reference column not to lose foreign key constraintRyuta Kamizono2018-08-201-0/+16
* Ensure `foreign_keys` assertions after alter tableRyuta Kamizono2018-08-191-1/+5
* Merge pull request #33585 from yahonda/diag33520Ryuta Kamizono2018-08-161-0/+13
|\
| * SQLite3 adapter `alter_table` method restores foreign keysYasuo Honda2018-08-111-0/+13
|/
* Disable foreign keys during `alter_table` for sqlite3 adapterYasuo Honda2018-05-221-0/+46
* Move fk_ignore_pattern from config.active_record to SchemaDumperDavid Stosik2018-03-221-1/+4
* Test config.active_record.fk_ignore_patternDavid Stosik2018-03-201-0/+8
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-11/+11
* Change refute to assert_notDaniel Colson2018-01-251-5/+5
* Add support for invalid foreign keys in PostgresTravis Hunter2017-12-011-0/+68
* 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 unused DdlHelper in ForeignKeyTestRyuta Kamizono2017-02-141-2/+0
* Use ActiveRecord `bigint` type, not SQL literal bigintYasuo Honda2017-02-141-11/+14
* `primary_key` and `references` columns should be identical typeRyuta Kamizono2017-02-071-2/+2
* SQLite: Foreign Key SupportRyuta Kamizono2017-01-171-7/+27
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
* Change MySQL and Postgresql to use Bigint primary keysJon McCartie2016-12-051-3/+3
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-232/+232
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-5/+5
* Fix typo: accidently -> accidentally.Hendy Tanata2016-07-021-1/+1
* Add regression test for foreign key schema dump cachingeileencodes2016-07-011-0/+13
* Remove legacy mysql adapterAbdelkader Boudih2015-12-171-1/+1
* Internal test migrations use the private 'Current' versionMatthew Draper2015-12-151-2/+2
* Add table name prefix and suffix support to add_foreign_key and remove_foreig...Mehmet Emin İNAÇ2015-06-251-0/+31
* 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
* | 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
| |/ |/|
* | tests, use `drop_table if_exists: true` in our test suite.Yves Senn2015-01-201-2/+2
|/
* Use IO::NULL alwaysNobuyoshi Nakada2015-01-101-1/+1
* Remove deprecated methods at `Kernel`.Rafael Mendonça França2015-01-041-1/+13
* Support symbol foreign key to deletedtaniwaki2014-11-191-0/+8
* Force table creation in testsSean Griffin2014-11-171-2/+2
* Replace drop sql statement to drop_table methodYasuo Honda2014-09-111-2/+2
* Remove 'if exists' from drop table statement then use `table_exists?`Yasuo Honda2014-09-031-2/+2
* 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