mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #27278 from kamipo/should_be_sync_primary_key_definition
Should be sync the `primary_key` definition with actually created
This commit is contained in:
commit
17b09f4fca
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ module ActiveRecord
|
|||
self.emulate_booleans = true
|
||||
|
||||
NATIVE_DATABASE_TYPES = {
|
||||
primary_key: "BIGINT(8) UNSIGNED auto_increment PRIMARY KEY",
|
||||
primary_key: "bigint auto_increment PRIMARY KEY",
|
||||
string: { name: "varchar", limit: 255 },
|
||||
text: { name: "text", limit: 65535 },
|
||||
integer: { name: "int", limit: 4 },
|
||||
|
|
Loading…
Reference in a new issue