mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-07 04:32:04 +00:00
fix(setup): update chunks in step 11 (#5965)
This commit is contained in:
6
cmd/setup/11/11_add_column.sql
Normal file
6
cmd/setup/11/11_add_column.sql
Normal file
@@ -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