mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Add support for MS SQL newid() function.
The newid() function seems to be equivalent to the newsequentialid() one if I'm to believe issue #204, so let's just add that assumption in the code. Fix #204.
This commit is contained in:
parent
d72c711b45
commit
45924be87d
@ -14,7 +14,8 @@
|
||||
(or (uiop:string-prefix-p "CURRENT_TIMESTAMP" default)
|
||||
(string= "CURRENT TIMESTAMP" default)))
|
||||
"CURRENT_TIMESTAMP")
|
||||
((and (stringp default) (string= "newsequentialid()" default))
|
||||
((and (stringp default) (or (string= "newid()" default)
|
||||
(string= "newsequentialid()" default)))
|
||||
"uuid_generate_v1()")
|
||||
(t
|
||||
;; apply the transformation function to the default value
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user