mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Add support for DATETIME() function call as a SQLite default values.
Fixes #1177.
This commit is contained in:
parent
689dd4a806
commit
f5139cbf29
@ -107,6 +107,12 @@
|
||||
(string= "CURRENT TIMESTAMP" default)))
|
||||
:current-timestamp)
|
||||
|
||||
((and (stringp default)
|
||||
;; we don't care about spaces in that expression
|
||||
(string-equal "datetime('now','localtime')"
|
||||
(remove #\Space default)))
|
||||
:current-timestamp)
|
||||
|
||||
((and (stringp default) (string-equal "current_date" default))
|
||||
:current-date)
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user