修改配置编辑不了的问题
This commit is contained in:
@@ -6,6 +6,7 @@ describe("PostgreSQL application-role privilege contract", () => {
|
||||
const source = await readFile(new URL("../scripts/migrate-postgres.mjs", import.meta.url), "utf8");
|
||||
expect(source).toContain('["billing_wallets", "SELECT, INSERT, UPDATE"]');
|
||||
expect(source).toContain('["billing_ledger", "SELECT, INSERT"]');
|
||||
expect(source).toContain('["platform_runtime_settings", "SELECT, INSERT, UPDATE"]');
|
||||
expect(source).toContain("applicationRoleTablePrivileges().map");
|
||||
expect(source).toContain("REVOKE ALL ON TABLE");
|
||||
expect(source).not.toContain("ALTER DEFAULT PRIVILEGES");
|
||||
|
||||
Reference in New Issue
Block a user