Files
zitadel/migrations/sqlite/V1.6__origin_allow_list.sql
T
2020-09-30 16:44:29 +02:00

12 lines
618 B
SQL

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;
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';