From 5166efe517291f5c9fc6326f30651ef799d6db65 Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 9 Jan 2022 13:39:10 +0100 Subject: Add id in event model --- src/db/migrations/1-init.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/migrations') diff --git a/src/db/migrations/1-init.sql b/src/db/migrations/1-init.sql index 72fab80..39b845b 100644 --- a/src/db/migrations/1-init.sql +++ b/src/db/migrations/1-init.sql @@ -1,5 +1,5 @@ CREATE TABLE IF NOT EXISTS "events" ( - "id" INTEGER PRIMARY KEY, + "id" VARCHAR PRIMARY KEY, "date" VARCHAR NOT NULL, "start" VARCHAR NULL, "end" VARCHAR NULL, -- cgit v1.2.3