summaryrefslogtreecommitdiff
path: root/storage/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'storage/migrations')
-rw-r--r--storage/migrations/001_init.up.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/migrations/001_init.up.sql b/storage/migrations/001_init.up.sql
index 287f3d1..1b3e63d 100644
--- a/storage/migrations/001_init.up.sql
+++ b/storage/migrations/001_init.up.sql
@@ -1,4 +1,4 @@
-CREATE TABLE chat (
+CREATE TABLE IF NOT EXISTS chat (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT NOT NULL,
msgs TEXT NOT NULL, -- Store messages as a comma-separated string