aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration
Commit message (Expand)AuthorAgeFilesLines
* Raises when `ActiveRecord::Migration` is inherited directly.Rafael Mendonça França2016-12-291-12/+6
* `#tables` and `#table_exists?` and returns only tables and not viewsRafael Mendonça França2016-12-293-15/+13
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
* Translate NOT NULL violation to the specific exceptionRyuta Kamizono2016-12-061-7/+11
* Change MySQL and Postgresql to use Bigint primary keysJon McCartie2016-12-053-8/+13
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Merge pull request #26631 from kamipo/remove_duplicate_conditionMatthew Draper2016-10-061-3/+1
|\
| * Remove duplicated `unless current_adapter?(:SQLite3Adapter)` conditionRyuta Kamizono2016-09-271-3/+1
* | `:text_too_big` column should be `:text`, not `:integer`Ryuta Kamizono2016-09-271-1/+1
|/
* improve error message when include assertions failMichael Grosser2016-09-162-5/+5
* Remove duplicated `elsif` branchRyuta Kamizono2016-09-111-2/+0
* fixes remaining RuboCop issues [Vipul A M, Xavier Noria]Xavier Noria2016-09-011-4/+4
* Add three new rubocop rulesRafael Mendonça França2016-08-167-40/+40
* revises most Lint/EndAlignment offensesXavier Noria2016-08-071-3/+4
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* applies remaining conventions across the projectXavier Noria2016-08-063-3/+1
* normalizes indentation and whitespace across the projectXavier Noria2016-08-066-402/+402
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-1/+1
* modernizes hash syntax in activerecordXavier Noria2016-08-068-122/+122
* applies new string literal convention in activerecord/testXavier Noria2016-08-0615-162/+162
* Oracle TIMESTAMP sql type is associated with Rails `DateTime` type nowYasuo Honda2016-07-201-8/+1
* Fix wrong test namePrathamesh Sonpatki2016-07-161-1/+1
* Fix typo: accidently -> accidentally.Hendy Tanata2016-07-021-1/+1
* Add regression test for foreign key schema dump cachingeileencodes2016-07-011-0/+13
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Merge pull request #24221 from gregmolnar/uuidKasper Timm Hansen2016-04-201-0/+7
|\
| * add column type option to create_join_table to support uuidGreg Molnar2016-03-171-0/+7
* | `foreign_key` respects `table_name_prefix` and `table_name_suffix`Ryuta Kamizono2016-04-191-0/+30
* | Add test to verify named unique index, when creating reference via add_referenceVipul A M2016-04-161-0/+5
|/
* Merge pull request #23419 from prathamesh-sonpatki/fix-showing-of-deprecation...Matthew Draper2016-02-231-1/+13
|\
| * Fix random failures of tests on TravisPrathamesh Sonpatki2016-02-121-1/+1
| * Correctly show deprecation warning for incompatible migrationsPrathamesh Sonpatki2016-02-121-0/+12
* | Merge pull request #23614 from georgemillo/foreign_keyYves Senn2016-02-161-0/+16
|\ \ | |/ |/|
| * Let t.foreign_key use the same `to_table` twiceGeorge Millo2016-02-151-0/+20
|/
* Merge pull request #23359 from kamipo/make_to_primary_keyRafael França2016-02-011-24/+0
|\
| * Make to primary key instead of an unique index for internal tablesRyuta Kamizono2016-01-311-24/+0
* | Added test for backward compatibility of null constraints on timestamp columnsPrathamesh Sonpatki2016-01-311-0/+30
|/
* Pare back default `index` option for the migration generatorPrathamesh Sonpatki2016-01-244-11/+29
* fix remove_index for postgresql when running legacy migrationsLachlan Sylvester2016-01-061-0/+16
* Remove unnecessary enable,disable_extension on testsFumiaki MATSUSHIMA2016-01-021-2/+0
* Remove legacy mysql adapterRyuta Kamizono2015-12-211-2/+0
* Merge pull request #19456 from greysteil/index-exists-behaviourMatthew Draper2015-12-182-0/+52
|\
| * Support removing custom-names indexes when only specifying column namesGrey Baker2015-12-152-0/+50
| * Ignore index name in `index_exists?` when not passed a name to check forGrey Baker2015-12-151-0/+2
* | Remove legacy mysql adapterAbdelkader Boudih2015-12-176-10/+10
|/
* Internal test migrations use the private 'Current' versionMatthew Draper2015-12-152-3/+3
* Move `migration/postgresql_geometric_types_test.rb` in `adapters/postgresql/g...Ryuta Kamizono2015-11-241-93/+0
* Deprecate `#table_exists?`, `#tables` and passing arguments to `#talbes`yui-knk2015-11-094-16/+18
* `:to_table` when adding a fk through `add_reference`.Yves Senn2015-10-131-0/+9
* tests, use `if_exists: true` instead of `rescue nil`.Yves Senn2015-09-221-1/+1