aboutsummaryrefslogtreecommitdiff
path: root/initialize.sql
diff options
context:
space:
mode:
Diffstat (limited to 'initialize.sql')
-rw-r--r--initialize.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/initialize.sql b/initialize.sql
index 5a54a7f..292c50b 100644
--- a/initialize.sql
+++ b/initialize.sql
@@ -76,7 +76,7 @@ CREATE TABLE IF NOT EXISTS tag_space(
id INTEGER NOT NULL,
name TEXT NOT NULL,
description TEXT,
- CHECK (name NOT LIKE '%:%'),
+ CHECK (name NOT LIKE '%:%' AND name NOT LIKE '-%'),
PRIMARY KEY (id)
) STRICT;