diff --git a/sqlc/schema.sql b/sqlc/schema.sql index 2d731be..3881868 100644 --- a/sqlc/schema.sql +++ b/sqlc/schema.sql @@ -24,7 +24,7 @@ CREATE TABLE IF NOT EXISTS "users" ( username VARCHAR(20) UNIQUE NOT NULL, verified BOOLEAN DEFAULT FALSE, registration_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, - role INTEGER NOT NULL DEFAULT 0, + role INTEGER NOT NULL DEFAULT 1, -- enum user deleted BOOLEAN DEFAULT FALSE );