aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Expand)AuthorAgeFilesLines
* 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
|\
| * Skip `test_remove_column_with_multi_column_index`Yasuo Honda2017-09-011-0/+4
* | `add_reference` should respect column position for both reference id and type...Ryuta Kamizono2017-09-011-0/+10
|/
* Improve `migration/column_attributes_test.rb` (#25286)Ryuta Kamizono2017-08-181-3/+17
* Fix `test_add_column_with_timestamp_type` when using OracleKoichi ITO2017-07-251-0/+2
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-1917-0/+34
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0217-17/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-0117-0/+17
* Merge pull request #29455 from kirs/remove-column-with-fk-mysqlGuillermo Iguaran2017-06-161-0/+10
|\
| * Remove FK together with column in MySQLKir Shatrov2017-06-161-0/+10
* | Add test for backward compatibility when using change_tableKoichi ITO2017-06-131-0/+15
|/
* `rename_table` renames primary key index nameYaw Boakye2017-05-291-0/+23
* Remove a redundant test case of command_recorder_testKoichi ITO2017-05-291-5/+0
* Both reference id and type should be `NOT NULL` if `null: false` is specifiedRyuta Kamizono2017-05-191-0/+8
* Use a query that's compatible with PostgreSQL 9.2Matthew Draper2017-04-121-1/+1
* Don't share `options` with a reference type columnRyuta Kamizono2017-03-041-0/+7
* `create_join_table` should respect `references` column typeRyuta Kamizono2017-02-281-1/+12
* Deprecate `supports_migrations?` on connection adaptersRyuta Kamizono2017-02-271-12/+0
* Fix `change_column` to drop default with `null: false`Ryuta Kamizono2017-02-261-0/+10
* Merge pull request #25285 from kamipo/fix_remove_reference_to_multiple_foreig...Rafael França2017-02-231-0/+16
|\
| * Fix `remove_reference` to multiple foreign keys in the same tableRyuta Kamizono2017-02-111-0/+16
* | Correctly dump native timestamp types for MySQLRyuta Kamizono2017-02-231-0/+2
* | Remove unused DdlHelper in ForeignKeyTestRyuta Kamizono2017-02-141-2/+0