User.avatarURL column

This commit is contained in:
Oliver Bryan
2026-01-01 06:51:13 +00:00
parent 20c3f5116a
commit 44fe15cf9d
6 changed files with 891 additions and 0 deletions

View File

@@ -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(),
});