mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #43267 from the-spectator/big_int_generator_fix
Fixes #43266 Add `bigint` to `NATIVE_DATABASE_TYPES` in mysql & postgres adapter
This commit is contained in:
commit
7e738a5587
2 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ module ActiveRecord
|
|||
string: { name: "varchar", limit: 255 },
|
||||
text: { name: "text" },
|
||||
integer: { name: "int", limit: 4 },
|
||||
bigint: { name: "bigint" },
|
||||
float: { name: "float", limit: 24 },
|
||||
decimal: { name: "decimal" },
|
||||
datetime: { name: "datetime" },
|
||||
|
|
|
@ -125,6 +125,7 @@ module ActiveRecord
|
|||
string: { name: "character varying" },
|
||||
text: { name: "text" },
|
||||
integer: { name: "integer", limit: 4 },
|
||||
bigint: { name: "bigint" },
|
||||
float: { name: "float" },
|
||||
decimal: { name: "decimal" },
|
||||
datetime: {}, # set dynamically based on datetime_type
|
||||
|
|
Loading…
Reference in a new issue