mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-06 22:12:12 +02:00
refactor(db): rename search_space_roles table to workspace_roles
Phase 1 (rename DB) commit 1h: rename the roles table and flip both inbound FKs (memberships.role_id, invites.role_id), plus the matching raw-SQL cleanup in the obsidian plugin test.
This commit is contained in:
parent
0ed043379d
commit
35f80268df
2 changed files with 4 additions and 4 deletions
|
|
@ -129,7 +129,7 @@ async def race_user_and_space(async_engine):
|
|||
{"id": space_id},
|
||||
)
|
||||
await cleanup.execute(
|
||||
text("DELETE FROM search_space_roles WHERE workspace_id = :id"),
|
||||
text("DELETE FROM workspace_roles WHERE workspace_id = :id"),
|
||||
{"id": space_id},
|
||||
)
|
||||
await cleanup.execute(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue