Skip to content

Commit 1050b3c

Browse files
author
Frank
committed
wip: zen
1 parent 43a0823 commit 1050b3c

7 files changed

Lines changed: 724 additions & 18 deletions

File tree

packages/console/app/src/context/auth.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export const getActor = async (workspace?: string): Promise<Actor.Info> => {
7373
properties: {
7474
userID: result.user.id,
7575
workspaceID: result.user.workspaceID,
76+
role: result.user.role,
7677
},
7778
}
7879
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE `user` ADD `time_joined` timestamp(3);--> statement-breakpoint
2+
ALTER TABLE `user` ADD `role` enum('admin','member');

0 commit comments

Comments
 (0)