proton: missing default value for timestamp
Related: https://pagure.io/koji/issue/2230
This commit is contained in:
parent
e8119e52be
commit
5167fee215
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ CREATE INDEX task_by_no_parent_state_method ON task(parent, state, method) WHERE
|
|||
-- Message queue for the protonmsg plugin
|
||||
CREATE TABLE proton_queue (
|
||||
id SERIAL PRIMARY KEY,
|
||||
created_ts TIMESTAMPTZ,
|
||||
created_ts TIMESTAMPTZ DEFAULT NOW(),
|
||||
address TEXT NOT NULL,
|
||||
props JSON NOT NULL,
|
||||
body JSON NOT NULL
|
||||
|
|
|
|||
|
|
@ -941,7 +941,7 @@ CREATE TABLE win_archives (
|
|||
-- Message queue for the protonmsg plugin
|
||||
CREATE TABLE proton_queue (
|
||||
id SERIAL PRIMARY KEY,
|
||||
created_ts TIMESTAMPTZ,
|
||||
created_ts TIMESTAMPTZ DEFAULT NOW(),
|
||||
address TEXT NOT NULL,
|
||||
props JSON NOT NULL,
|
||||
body JSON NOT NULL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue