aboutsummaryrefslogtreecommitdiff
path: root/initialize.sql
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-12-24 23:50:50 +0100
committerPřemysl Eric Janouch <p@janouch.name>2023-12-25 02:41:13 +0100
commit6788a8fbe6af9418374b633e92d6307056701e70 (patch)
treeb022a72d1703bc2e8b7e7cc8569879be83b69bf8 /initialize.sql
parent410198c3788c216d4244d093eb923f6710f39c8f (diff)
downloadgallery-6788a8fbe6af9418374b633e92d6307056701e70.tar.gz
gallery-6788a8fbe6af9418374b633e92d6307056701e70.tar.xz
gallery-6788a8fbe6af9418374b633e92d6307056701e70.zip
Tag tab
Diffstat (limited to 'initialize.sql')
-rw-r--r--initialize.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/initialize.sql b/initialize.sql
index fc7d468..84a37a9 100644
--- a/initialize.sql
+++ b/initialize.sql
@@ -75,6 +75,7 @@ CREATE TABLE IF NOT EXISTS tag_space(
id INTEGER NOT NULL,
name TEXT NOT NULL,
description TEXT,
+ CHECK (name NOT LIKE '%:%'),
PRIMARY KEY (id)
) STRICT;