mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-13 09:25:12 +00:00
@@ -0,0 +1,6 @@
|
||||
BEGIN;
|
||||
-- create table with empty created_at
|
||||
ALTER TABLE eventstore.events ADD COLUMN IF NOT EXISTS created_at TIMESTAMPTZ DEFAULT NULL;
|
||||
-- set column rules
|
||||
ALTER TABLE eventstore.events ALTER COLUMN created_at SET DEFAULT clock_timestamp();
|
||||
COMMIT;
|
||||
Reference in New Issue
Block a user