Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
feat: schema change for GitLab role incorporation (#393)
Luke Zhou58ee0ea24d15
diff --git a/store/migration/10001__init_schema.sql b/store/migration/10001__init_schema.sqlindex bc38d78e2f..fdb61fd4b8 100644--- a/store/migration/10001__init_schema.sql+++ b/store/migration/10001__init_schema.sql@@ -280,6 +280,10 @@ CREATE TABLE project_member (-- allowed roles are 'OWNER', 'DEVELOPER'.role TEXT NOT NULL,principal_id INTEGER NOT NULL REFERENCES principal (id),+ -- allowed role_provider are 'BYTEBASE', 'GITLAB_SELF_HOST'.+ role_provider TEXT NOT NULL DEFAULT "BYTEBASE",+ -- payload is determined by the type of role_provider+ payload TEXT NOT NULL DEFAULT,UNIQUE(project_id, principal_id));