mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 10:56:10 +02:00
SQLite integers can host bigints, fix #227.
This commit is contained in:
parent
ebc0dcda4f
commit
3848ad6ae5
@ -2400,6 +2400,9 @@ Numbers:
|
||||
type tinyint to smallint
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
type integer to bigint
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
type float to float using float\-to\-string
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
|
||||
@ -1960,6 +1960,7 @@ When migrating from SQLite the following Casting Rules are provided:
|
||||
Numbers:
|
||||
|
||||
- type tinyint to smallint
|
||||
- type integer to bigint
|
||||
|
||||
- type float to float using float-to-string
|
||||
- type real to real using float-to-string
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
(:source (:type "clob") :target (:type "text" :drop-typemod t))
|
||||
|
||||
(:source (:type "tinyint") :target (:type "smallint"))
|
||||
(:source (:type "integer") :target (:type "bigint"))
|
||||
|
||||
(:source (:type "float") :target (:type "float")
|
||||
:using pgloader.transforms::float-to-string)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user