summaryrefslogtreecommitdiff
path: root/db/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'db/main.go')
-rw-r--r--db/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/main.go b/db/main.go
index c78ea3a..801cb65 100644
--- a/db/main.go
+++ b/db/main.go
@@ -33,7 +33,7 @@ func NewSafeDB() (*SafeDB, error) {
const create string = `
CREATE TABLE IF NOT EXISTS Accounts(
id INTEGER PRIMARY KEY,
- Email CHAR(64) NOT NULL UNIQUE,
+ UserName CHAR(64) NOT NULL UNIQUE,
PassHash CHAR(128) NOT NULL,
Level INTEGER NOT NULL,