diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-03-16 07:33:33 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-03-16 09:24:06 +0530 |
commit | c6ae7acc13d243f7fcd2115be1da142678e71f70 (patch) | |
tree | 7e4be51b816743bcf55d8238b2554856e07e3a4f /db/main.go | |
parent | affa80ee065a41b2afe3a7a12a499a86a88e2950 (diff) |
db/Account: Email -> UserName
Diffstat (limited to 'db/main.go')
-rw-r--r-- | db/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |