aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/references_foreign_key_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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