Fixed SQL bug in the roles table

pull/437/head
Christopher Usher 3 weeks ago committed by Mike Lang
parent 713c0a6363
commit 853a8f0ff4

@ -132,7 +132,7 @@ CREATE TABLE nodes (
CREATE TABLE roles (
-- email should always be lowercase since that's how the auth function compares it
email TEXT PRIMARY KEY CHECK email = lower(email),
email TEXT PRIMARY KEY CHECK (email = lower(email)),
name TEXT NOT NULL,
editor BOOLEAN NOT NULL DEFAULT FALSE,
artist BOOLEAN NOT NULL DEFAULT FALSE

Loading…
Cancel
Save