Skip to content

Commit

Permalink
Merge pull request #43267 from the-spectator/big_int_generator_fix
Browse files Browse the repository at this point in the history
Fixes #43266 Add `bigint` to `NATIVE_DATABASE_TYPES` in mysql & postgres adapter
  • Loading branch information
rafaelfranca committed Sep 20, 2021
2 parents 49bc29a + 2ac78b1 commit 7e738a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class AbstractMysqlAdapter < AbstractAdapter
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" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def new_client(conn_params)
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
Expand Down

0 comments on commit 7e738a5

Please sign in to comment.