save floors to db

This commit is contained in:
David Senoner 2025-05-18 17:21:58 +02:00
parent 4b9620be7f
commit b0ffcb838f
6 changed files with 83 additions and 57 deletions

View file

@ -14,3 +14,8 @@ export const sessions = pgTable("sessions", {
.references(() => users.id),
expiresAt: timestamp({ withTimezone: true, mode: "date" }).notNull(),
});
export const floors = pgTable("floors", {
floor: integer().primaryKey(),
url: text().notNull(),
});