mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 06:20:29 +00:00
wip: zen
This commit is contained in:
parent
e3a7096e44
commit
918739057d
20 changed files with 1093 additions and 8 deletions
|
|
@ -15,7 +15,7 @@ export const UserTable = mysqlTable(
|
|||
timeSeen: utc("time_seen"),
|
||||
timeJoined: utc("time_joined"),
|
||||
color: int("color"),
|
||||
role: mysqlEnum("role", ["admin", "member"]),
|
||||
role: mysqlEnum("role", ["admin", "member"]).notNull(),
|
||||
},
|
||||
(table) => [...workspaceIndexes(table), uniqueIndex("user_email").on(table.workspaceID, table.email)],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue