fix: reenable member invites
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
ALTER TABLE "workspace_members" ALTER COLUMN "userId" DROP NOT NULL;--> statement-breakpoint
|
||||
ALTER TABLE "workspace_members" ADD COLUMN "email" varchar(255);--> statement-breakpoint
|
||||
UPDATE "workspace_members" wm SET "email" = u."email" FROM "user" u WHERE wm."userId" = u."id";--> statement-breakpoint
|
||||
ALTER TABLE "workspace_members" ALTER COLUMN "email" SET NOT NULL;
|
||||
2062
packages/db/migrations/meta/20250522083748_snapshot.json
Normal file
2062
packages/db/migrations/meta/20250522083748_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,13 @@
|
||||
"when": 1746693478656,
|
||||
"tag": "20250508083758_SetupTables",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 1,
|
||||
"version": "7",
|
||||
"when": 1747903068807,
|
||||
"tag": "20250522083748_AddEmailToWorkspaceMembers",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user