mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 12:34:17 +00:00
add sign in
This commit is contained in:
@@ -62,6 +62,8 @@ export const users = pgTable('user', (d) => ({
|
||||
})
|
||||
.default(sql`CURRENT_TIMESTAMP`),
|
||||
image: d.varchar({ length: 255 }),
|
||||
discord_id: d.varchar({ length: 255 }),
|
||||
role: d.varchar({ length: 255 }).notNull().default('user'),
|
||||
}))
|
||||
|
||||
export const usersRelations = relations(users, ({ many }) => ({
|
||||
|
||||
Reference in New Issue
Block a user