diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2024-12-29 20:37:26 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2024-12-29 20:37:26 +0100 |
| commit | 7bc8e8b7262a3f3abe3222b3b434838e85cdb2bb (patch) | |
| tree | 4f5abb6180a069126cd787310942d5d7f8436768 /server/migrations/eyeballs.sql | |
| parent | 0aa2545b703f5240a8208a07da8ab20b8bc6d1aa (diff) | |
Rework auth to include session
The actual authentication is still fake.
Diffstat (limited to 'server/migrations/eyeballs.sql')
| -rw-r--r-- | server/migrations/eyeballs.sql | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |
