aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Expand)AuthorAgeFilesLines
* Raise `ArgumentError` for invalid `:limit` and `:precision` like as other opt...Ryuta Kamizono2019-04-071-3/+3
* Respect table name prefix/suffix for `truncate_all`Ryuta Kamizono2019-04-041-1/+1
* Cache database version in schema cacheAli Ibrahim2019-04-031-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 unnecessary `current_adapter?(:OracleAdapter)` for index lengthYasuo Honda2019-03-031-8/+5
* Oracle 12.2+ supports 128 byte identifier lengthYasuo Honda2019-03-031-10/+2
* 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
|/