mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 19:06:11 +02:00
Fix MySQL default cast rules to include bigint auto_increment to bigserial.
This commit is contained in:
parent
fe68fba3d3
commit
314ee9611a
@ -64,6 +64,9 @@
|
||||
(:source (:type "int" :auto-increment nil :typemod (<= 10 (car typemod)))
|
||||
:target (:type "bigint"))
|
||||
|
||||
;; bigint with auto_increment always are bigserial
|
||||
(:source (:type "bigint" :auto-increment t) :target (:type "bigserial"))
|
||||
|
||||
;; we need the following to benefit from :drop-typemod
|
||||
(:source (:type "tinyint") :target (:type "integer"))
|
||||
(:source (:type "smallint") :target (:type "integer"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user