aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Expand)AuthorAgeFilesLines
* Refactor `type_to_sql` to handle converting `limit` to `size` in itselfRyuta Kamizono2019-02-261-4/+2
* Remove `NoForeignKeySupportTest` which is no longer reachedRyuta Kamizono2019-02-162-46/+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-113-15/+43
* More exercise table name prefix and suffix testsRyuta Kamizono2019-02-111-25/+81
* Merge pull request #35203 from chiastolite/add_column_without_column_namesRyuta Kamizono2019-02-101-0/+11
|\
| * Do not allow to add column without column nameHiroyuki Morita2019-02-101-0/+9
|/
* Make `t.timestamps` with precision by defaultRyuta Kamizono2019-01-261-0/+71
* Fix `t.timestamps` missing `null: false` in `change_table bulk: true`Ryuta Kamizono2019-01-261-0/+17
* Allow `column_exists?` giving options without typeRyuta Kamizono2019-01-261-6/+6
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-16/+14
* Merge pull request #23593 from meinac/add_index_option_for_change_tableRyuta Kamizono2018-10-011-0/+8
|\
| * Index option added for change_table migrationsMehmet Emin INAC2018-09-221-0/+8
* | Fix `transaction` reverting for migrationsfatkodima2018-09-262-0/+24
* | Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-252-5/+5
|/
* 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
* | Follow up #33530bogdanvlviv2018-08-151-0/+5
* | Allow `to_table` in `invert_remove_foreign_key`Rich2018-08-141-0/+8
|/
* Migrations will raise an exception if there are multiple column definitions (...Federico Martinez2018-06-011-0/+11
* Disable foreign keys during `alter_table` for sqlite3 adapterYasuo Honda2018-05-221-0/+46
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-1/+1
* More exercise `test_remove_named_index`Ryuta Kamizono2018-05-021-1/+4
* Replace `assert !` with `assert_not`Daniel Colson2018-04-193-13/+13
* 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
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-255-25/+25
* Change refute to assert_notDaniel Colson2018-01-252-7/+7
* Use respond_to test helpersDaniel Colson2018-01-251-2/+2
* Refactor migration to move migrations paths to connectioneileencodes2018-01-181-25/+25
* SQLite: Add more test cases for adding primary keyRyuta Kamizono2017-12-261-58/+48
* Fix `add_column` with :primary_key type compatibility for SQLitefatkodima2017-12-251-0/+19
* Suppress `warning: BigDecimal.new is deprecated` in activerecordYasuo Honda2017-12-131-3/+3
* `change_column_default` should be executed after type changingRyuta Kamizono2017-12-031-2/+2
* Fix `s/klass.connection/connection/`Ryuta Kamizono2017-12-031-1/+1
* Fix `test_add_column_with_timestamp_type` failureRyuta Kamizono2017-12-032-7/+8
* Fix warning: assigned but unused variable - tRyuta Kamizono2017-12-031-1/+1
* Merge pull request #31230 from dinahshi/postgresql_extract_sqlMatthew Draper2017-12-031-0/+17
|\
| * Extract sql fragment generators for alter table from PostgreSQL adapterDinah Shi2017-12-021-0/+17
* | Add support for invalid foreign keys in PostgresTravis Hunter2017-12-011-0/+68
|/
* Remove deprecated argument `default` from `index_name_exists?`Rafael Mendonça França2017-10-231-4/+2
* Should test `LegacyPrimaryKeyTest` to both `V5_0` and `V4_2`Ryuta Kamizono2017-10-181-15/+34
* compatibility - use int instead of bigintpavel2017-10-181-0/+3
* Adding legacy primary key should be compatibleRyuta Kamizono2017-09-231-0/+51
* Use algorithm while removing index with db:rollbackMehmet Emin İNAÇ2017-09-211-0/+5
* make create_join_table compatible.Yuki Masutomi2017-09-201-0/+30
* Merge pull request #29850 from yahonda/test_with_mariadb_102_on_trustyRyuta Kamizono2017-09-011-0/+4
|\