More stuff

This commit is contained in:
2024-10-04 16:56:32 -05:00
parent edffe130a5
commit 7371cc8851
14 changed files with 299 additions and 11 deletions

View File

@@ -24,7 +24,8 @@ export const users = createTable(
passwordHash: varchar("password_hash", {length: 255}).notNull(),
name: varchar("name", { length: 100 }),
pfpURL: varchar("pfp_url", { length: 255 }),
pushToken: varchar("pushToken", { length: 256 }),
pushToken: varchar("pushToken", { length: 255 }),
refreshToken: varchar("refreshToken", { length: 255 }),
lastLogin: timestamp("last_login", { withTimezone: true }),
createdAt: timestamp("created_at", { withTimezone: true })
.default(sql`CURRENT_TIMESTAMP`)