summaryrefslogtreecommitdiff
path: root/server/migrations/eyeballs.sql
diff options
context:
space:
mode:
Diffstat (limited to 'server/migrations/eyeballs.sql')
-rw-r--r--server/migrations/eyeballs.sql2
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
);