mirror of
https://github.com/opus-tango/socialdb-sh.git
synced 2026-03-20 12:05:21 +00:00
add num_people field to data keys table
This commit is contained in:
1
src/db/migrations/0001_famous_karma.sql
Normal file
1
src/db/migrations/0001_famous_karma.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "data_keys" ADD COLUMN "num_people" integer DEFAULT 0;
|
||||
1228
src/db/migrations/meta/0001_snapshot.json
Normal file
1228
src/db/migrations/meta/0001_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -8,6 +8,13 @@
|
||||
"when": 1773509755516,
|
||||
"tag": "0000_flat_sabra",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 1,
|
||||
"version": "7",
|
||||
"when": 1773582364110,
|
||||
"tag": "0001_famous_karma",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,6 +20,7 @@ export const dataKeys = pgTable("data_keys", {
|
||||
}),
|
||||
name: text("name").notNull(),
|
||||
group: text("group"),
|
||||
num_people: integer("num_people").default(0),
|
||||
updatedAt: timestamp("updated_at", { withTimezone: true }).defaultNow(),
|
||||
createdAt: timestamp("created_at", { withTimezone: true }).defaultNow(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user