zitadel/migrations/cockroach/V1.61__has_project.sql

13 lines
432 B
MySQL
Raw Normal View History

ALTER TABLE management.projects ADD COLUMN has_project_check BOOLEAN;
ALTER TABLE authz.applications ADD COLUMN has_project_check BOOLEAN;
ALTER TABLE auth.applications ADD COLUMN has_project_check BOOLEAN;
ALTER TABLE management.applications ADD COLUMN has_project_check BOOLEAN;
CREATE TABLE auth.org_project_mapping (
org_id TEXT,
project_id TEXT,
project_grant_id TEXT,
PRIMARY KEY (org_id, project_id)
);