From fd32adb138d505954dcdb6421522dad2a3942e5b Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 16 Sep 2024 17:02:37 +0100 Subject: [PATCH] db: delete teh old table and recreate a new one with teh right fields --- db/migrations/4_committee-mk-ii.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrations/4_committee-mk-ii.sql diff --git a/db/migrations/4_committee-mk-ii.sql b/db/migrations/4_committee-mk-ii.sql new file mode 100644 index 0000000..be59f61 --- /dev/null +++ b/db/migrations/4_committee-mk-ii.sql @@ -0,0 +1,9 @@ +-- No longer using the previous committee table +DROP TABLE committee; + +-- new table pulling from teh api +CREATE TABLE IF NOT EXISTS committee ( + id integer PRIMARY KEY, + name text not null, + members text not null +);