aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/primary_keys_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Reset schema cache after testyuuji.yaginuma2017-12-101-0/+2
* Remove deprecated method `supports_primary_key?`Rafael Mendonça França2017-10-231-4/+0
* Should quote composite primary key namesRyuta Kamizono2017-09-041-1/+11
* Prefer to place a table options before `force: :cascade` (#28005)Ryuta Kamizono2017-08-271-3/+3
* Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-011-0/+2
|\
| * Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-07-151-5/+18
|\|
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
| * Don't map id to primary key in raw_write_attributeEugene Kenny2017-06-151-0/+6
| * Avoid overwriting the methods of `AttributeMethods::PrimaryKey`Ryuta Kamizono2017-06-071-5/+12
* | Don't use same table between primary_keys tests and composite_primary_keys testsPrathamesh Sonpatki2017-04-261-7/+7
|/
* Merge pull request #28029 from koic/empty_insert_statement_value_not_supportedMatthew Draper2017-04-041-0/+2
|\
| * Raise NotImplementedError when using empty_insert_statement_value with OracleKoichi ITO2017-02-171-0/+2
* | Correctly dump native timestamp types for MySQLRyuta Kamizono2017-02-231-0/+8
* | Add CHANGELOG entry for #27384 and #27762Ryuta Kamizono2017-02-171-4/+4
|/
* Deprecate `supports_primary_key?`Ryuta Kamizono2017-02-121-11/+13
* Fix bigint primary key with unsignedRyuta Kamizono2017-02-101-11/+23
* Fix `test_composite_primary_key_out_of_order`Ryuta Kamizono2017-02-101-2/+8
* Simplify and speed up Postgres query for primary_keysJordan Lewis2017-02-091-0/+9
* Fix inspection behavior when the :id column is not primary keynamusyaka2017-02-091-0/+7
* Restore custom primary key tests lost at #26266Ryuta Kamizono2017-02-041-25/+43
* Correctly dump integer-like primary key with default nilRyuta Kamizono2017-02-041-20/+19
* Remove useless `test_supports_primary_key`Ryuta Kamizono2016-12-191-6/+0
* Merge pull request #27274 from kamipo/primary_key_with_auto_increment_and_bigintMatthew Draper2016-12-061-8/+18
|\
| * Make `:auto_increment` option works on `:bigint`Ryuta Kamizono2016-12-061-8/+18
* | Make pg adapter use bigserial for pk by defaultPavel Pravosud2016-12-051-0/+7
* | Change MySQL and Postgresql to use Bigint primary keysJon McCartie2016-12-051-52/+29
|/
* Make `:auto_increment` to internal primary key optionRyuta Kamizono2016-12-061-0/+27
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
* modernizes hash syntax in activerecordXavier Noria2016-08-061-2/+2
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-25/+25
* Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-2/+8
* Merge pull request #25620 from kamipo/create_without_primary_keyRafael França2016-07-011-0/+8
|\
| * Pass `pk: false` to `connection.insert` explicitly if do not have a primary keyRyuta Kamizono2016-07-011-0/+8
* | Extract foreign key action from `information_schema`Ryuta Kamizono2016-06-071-12/+0
|/
* Primary key should be `NOT NULL`Ryuta Kamizono2016-03-121-1/+1
* Extract `default_primary_key?` to refactor `column_spec_for_primary_key`Ryuta Kamizono2016-03-111-2/+2
* Add a test for primary key should be not nullRyuta Kamizono2016-02-291-3/+4
* remove args from assert_nothing_raised in testsTara Scherner de la Fuente2016-02-221-1/+1
* Remove duplicated composite primary key testsRyuta Kamizono2016-02-011-1/+1
* Merge pull request #23345 from yui-knk/warning_when_composite_primary_key_is_...Rafael França2016-01-301-0/+7
|\
| * Warn if `AR.primary_key` is called for a table who has composite primary keyyui-knk2016-01-301-0/+7
* | There is no need to define test if a connection does not support primary_keyyui-knk2016-01-311-11/+9
|/
* Remove legacy mysql adapterAbdelkader Boudih2015-12-171-3/+3
* Deprecate `#table_exists?`, `#tables` and passing arguments to `#talbes`yui-knk2015-11-091-1/+1
* Allow bigint with default nil for avoiding auto increment primary keyRyuta Kamizono2015-11-021-0/+26
* Merge pull request #17696 from kamipo/unsigned_integer_supportJeremy Daer2015-09-191-1/+2
|\
| * Add `unsigned` support for numeric data types in MySQLRyuta Kamizono2015-09-181-1/+2
* | Correctly dump composite primary keyRyuta Kamizono2015-09-201-0/+27
|/