Add timestamp to migrations.run_at.
This commit is contained in:
parent
e35a5177ef
commit
ad1540ca20
@ -20,7 +20,7 @@ WHERE table_name = 'migrations';""")
|
||||
CREATE TABLE IF NOT EXISTS migrations (
|
||||
id SERIAL PRIMARY KEY,
|
||||
name VARCHAR NOT NULL,
|
||||
run_at TIMESTAMP NOT NULL DEFAULT NOW())"""))
|
||||
run_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW())"""))
|
||||
|
||||
proc rollbackWithErr (pgConn: DbConn, errMsg: string): void =
|
||||
pgConn.exec(sql"ROLLBACK")
|
||||
|
Loading…
x
Reference in New Issue
Block a user