mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
User.avatarURL column
This commit is contained in:
@@ -7,6 +7,7 @@ export const User = pgTable("User", {
|
||||
name: varchar({ length: 256 }).notNull(),
|
||||
username: varchar({ length: 32 }).notNull().unique(),
|
||||
passwordHash: varchar({ length: 255 }).notNull(),
|
||||
avatarURL: varchar({ length: 512 }),
|
||||
createdAt: timestamp({ withTimezone: false }).defaultNow(),
|
||||
updatedAt: timestamp({ withTimezone: false }).defaultNow(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user