aboutsummaryrefslogtreecommitdiff
path: root/src/db/migrations
diff options
context:
space:
mode:
authorJoris2022-01-09 13:39:10 +0100
committerJoris2022-01-09 13:39:10 +0100
commit5166efe517291f5c9fc6326f30651ef799d6db65 (patch)
tree36df3d65c9e7218bff2264391032ecd28001a688 /src/db/migrations
parent99af88a840bef534540a4b273d24a8a17e7fc9b9 (diff)
Add id in event model
Diffstat (limited to 'src/db/migrations')
-rw-r--r--src/db/migrations/1-init.sql2
1 files changed, 1 insertions, 1 deletions
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,