mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 19:44:21 +00:00
fix: transaction
This commit is contained in:
parent
e4d8478b04
commit
34783ba763
@ -1,5 +1,3 @@
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE management.org_domains ADD COLUMN validation_type SMALLINT;
|
||||
|
||||
CREATE TABLE adminapi.users (
|
||||
@ -40,5 +38,3 @@ CREATE TABLE adminapi.users (
|
||||
|
||||
PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
COMMIT;
|
@ -1,15 +1,11 @@
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE management.applications ADD COLUMN origin_allow_list TEXT ARRAY;
|
||||
ALTER TABLE auth.applications ADD COLUMN origin_allow_list TEXT ARRAY;
|
||||
ALTER TABLE authz.applications ADD COLUMN origin_allow_list TEXT ARRAY;
|
||||
|
||||
TRUNCATE TABLE management.applications;
|
||||
TRUNCATE TABLE auth.applications;
|
||||
TRUNCATE TABLE authz.applications;
|
||||
DELETE FROM management.applications;
|
||||
DELETE FROM auth.applications;
|
||||
DELETE FROM authz.applications;
|
||||
|
||||
UPDATE management.current_sequences set current_sequence = 0 where view_name = 'management.applications';
|
||||
UPDATE auth.current_sequences set current_sequence = 0 where view_name = 'auth.applications';
|
||||
UPDATE authz.current_sequences set current_sequence = 0 where view_name = 'authz.applications';
|
||||
|
||||
COMMIT;
|
@ -1,4 +1,3 @@
|
||||
|
||||
CREATE TABLE adminapi.idp_configs (
|
||||
idp_config_id TEXT,
|
||||
|
||||
|
@ -1,7 +1,3 @@
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE management.users ADD COLUMN username_change_required BOOLEAN;
|
||||
ALTER TABLE auth.users ADD COLUMN username_change_required BOOLEAN;
|
||||
ALTER TABLE adminapi.users ADD COLUMN username_change_required BOOLEAN;
|
||||
|
||||
COMMIT;
|
@ -1,2 +1 @@
|
||||
|
||||
ALTER TABLE auth.tokens ADD COLUMN preferred_language TEXT;
|
Loading…
Reference in New Issue
Block a user