Add support for type "signed long" in SQLite.

Fixes #1126.
This commit is contained in:
Dimitri Fontaine 2020-04-11 18:32:58 +02:00
parent cb989e1155
commit d5314a6640
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@
(defrule extra-qualifiers (and (? " ")
(or (~ "unsigned")
(~ "signed")
(~ "short")
(~ "varying")
(~ "native")

View File

@ -23,6 +23,9 @@
(:source (:type "integer") :target (:type "bigint")
:using pgloader.transforms::integer-to-string)
(:source (:type "long") :target (:type "bigint")
:using pgloader.transforms::integer-to-string)
(:source (:type "float") :target (:type "float")
:using pgloader.transforms::float-to-string)