Add push notif support

This commit is contained in:
2024-09-12 17:36:58 -05:00
parent c8cb5d16d1
commit 03fc9c9c1e
5 changed files with 91 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ export const users = createTable(
id: serial("id").primaryKey(),
name: varchar("name", { length: 256 }),
message: varchar("message", { length: 256 }),
pushToken: varchar("push_token", { length: 256 }),
createdAt: timestamp("created_at", { withTimezone: true })
.default(sql`CURRENT_TIMESTAMP`)
.notNull(),