Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat: schema change for role mapping (#646)

Luke Zhou4b099a82260a
diff --git a/store/pg_migration/10001__init_schema.sql b/store/pg_migration/10001__init_schema.sql
index 584b7274c1..fcb1403ffa 100644
--- a/store/pg_migration/10001__init_schema.sql
+++ b/store/pg_migration/10001__init_schema.sql
@@ -171,7 +171,9 @@ CREATE TABLE project (
tenant_mode TEXT NOT NULL DEFAULT 'DISABLED',
-- db_name_template is only used when a project is in tenant mode.
-- Empty value means {{DB_NAME}}.
- db_name_template TEXT NOT NULL
+ db_name_template TEXT NOT NULL,
+ -- allowed role_provider types are 'BYTEBASE', 'GITLAB_SELF_HOST'.
+ role_provider TEXT NOT NULL DEFAULT 'BYTEBASE'
);
INSERT INTO