diff --git a/src/app/db/migrations/meta/_journal.json b/src/app/db/migrations/meta/_journal.json index eb797050..032da46f 100644 --- a/src/app/db/migrations/meta/_journal.json +++ b/src/app/db/migrations/meta/_journal.json @@ -890,6 +890,13 @@ "when": 1762892339561, "tag": "0126_third_hawkeye", "breakpoints": true + }, + { + "idx": 127, + "version": "7", + "when": 1763119819059, + "tag": "0127_acoustic_sleepwalker", + "breakpoints": true } ] } \ No newline at end of file diff --git a/src/app/db/schema/whlg.ts b/src/app/db/schema/whlg.ts new file mode 100644 index 00000000..fa881684 --- /dev/null +++ b/src/app/db/schema/whlg.ts @@ -0,0 +1,11 @@ +import { + pgTable, + text, + bigserial, +} from "drizzle-orm/pg-core"; + +export const whlg = pgTable("whlg", { + id: bigserial("id", { mode: "bigint" }).primaryKey(), + postcode: text("postcode").notNull(), +}); +