summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/schema.sql b/schema.sql
index 2bd308d..a12d549 100644
--- a/schema.sql
+++ b/schema.sql
@@ -25,7 +25,7 @@ CREATE TABLE page_keys(
"user" INTEGER NOT NULL,
page VARCHAR NOT NULL,
"key" DECIMAL NOT NULL, -- (~ NUMERIC DECIMAL)
- PRIMARY KEY("user", page, "key"),
+ PRIMARY KEY(page, "key"),
FOREIGN KEY("user") REFERENCES users
);