mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-26 18:31:34 +01:00
test: drop delegation table before grant rollback
Keep the legacy connection migration rollback test compatible with the standing-delegation foreign key. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
63ddbd43da
commit
f5e1ecc059
1 file changed
+1
@@ -25,6 +25,7 @@ describeEmbeddedPostgres("connections v3 schema core migration", () => {
|
||||
cleanups.push(async () => sql.end());
|
||||
|
||||
await sql`DELETE FROM "drizzle"."__drizzle_migrations" WHERE "hash" = ${await migrationHash()}`;
|
||||
await sql`DROP TABLE IF EXISTS "connection_grant_delegations"`;
|
||||
await sql`DROP TABLE IF EXISTS "connection_grant_members"`;
|
||||
await sql`DROP TABLE IF EXISTS "connection_grants"`;
|
||||
await sql`DROP INDEX IF EXISTS "tool_connections_company_uid_uq"`;
|
||||
|
||||
Reference in new issue
Block a user