aboutsummaryrefslogtreecommitdiff
path: root/src/db/migrations/3-event-color.sql
diff options
context:
space:
mode:
authorJoris2022-04-24 16:31:49 +0200
committerJoris2022-04-24 16:31:49 +0200
commit47fe90ee23d8ab04645ef3c7a17459ed40c5b765 (patch)
treed1aa7d3840a3bd825dcae0a0398fec7ca310f45c /src/db/migrations/3-event-color.sql
parent6d271b09303d924381cc65e7c0b5eb56833780ed (diff)
downloadcalendar-47fe90ee23d8ab04645ef3c7a17459ed40c5b765.tar.gz
calendar-47fe90ee23d8ab04645ef3c7a17459ed40c5b765.tar.bz2
calendar-47fe90ee23d8ab04645ef3c7a17459ed40c5b765.zip
Allow to attach categories to events
Diffstat (limited to 'src/db/migrations/3-event-color.sql')
-rw-r--r--src/db/migrations/3-event-color.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/db/migrations/3-event-color.sql b/src/db/migrations/3-event-color.sql
new file mode 100644
index 0000000..ec589ea
--- /dev/null
+++ b/src/db/migrations/3-event-color.sql
@@ -0,0 +1,5 @@
+CREATE TABLE IF NOT EXISTS "event_color" (
+ "color" TEXT NOT NULL /* COLOR */
+);
+
+INSERT INTO "event_color" ("color") VALUES ("#a8c2e0");