add num_people field to data keys table

This commit is contained in:
Nayan Sawyer
2026-03-15 09:46:56 -04:00
parent 6c45fee36c
commit 7d6b6d3cd4
4 changed files with 1237 additions and 0 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE "data_keys" ADD COLUMN "num_people" integer DEFAULT 0;

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,13 @@
"when": 1773509755516, "when": 1773509755516,
"tag": "0000_flat_sabra", "tag": "0000_flat_sabra",
"breakpoints": true "breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1773582364110,
"tag": "0001_famous_karma",
"breakpoints": true
} }
] ]
} }

View File

@@ -20,6 +20,7 @@ export const dataKeys = pgTable("data_keys", {
}), }),
name: text("name").notNull(), name: text("name").notNull(),
group: text("group"), group: text("group"),
num_people: integer("num_people").default(0),
updatedAt: timestamp("updated_at", { withTimezone: true }).defaultNow(), updatedAt: timestamp("updated_at", { withTimezone: true }).defaultNow(),
createdAt: timestamp("created_at", { withTimezone: true }).defaultNow(), createdAt: timestamp("created_at", { withTimezone: true }).defaultNow(),
}); });