From 7bc8e8b7262a3f3abe3222b3b434838e85cdb2bb Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 29 Dec 2024 20:37:26 +0100 Subject: Rework auth to include session The actual authentication is still fake. --- server/migrations/eyeballs.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/migrations/eyeballs.sql') diff --git a/server/migrations/eyeballs.sql b/server/migrations/eyeballs.sql index d8163b2..9699e6c 100644 --- a/server/migrations/eyeballs.sql +++ b/server/migrations/eyeballs.sql @@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS projects ( CREATE TABLE IF NOT EXISTS users ( id BIGINT UNSIGNED PRIMARY KEY AUTO_INCREMENT, - username VARCHAR(256) NOT NULL, + username VARCHAR(256) NOT NULL UNIQUE, name VARCHAR(1024) NOT NULL DEFAULT '', active BOOLEAN NOT NULL DEFAULT 1 ); -- cgit v1.2.3-70-g09d2