summaryrefslogtreecommitdiff
path: root/db/main.go
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-03-16 13:54:06 +0530
committersinanmohd <sinan@sinanmohd.com>2024-03-16 13:54:06 +0530
commit1f3d9524ca64a07f419dd47840cdf84b32e9e857 (patch)
tree23382fda0d16e4985c3cdbdac445f5e96d7a4aae /db/main.go
parente5c9c56ec5fa243206f65ff77bd0f10708a284a3 (diff)
db/Account: PassHash -> Password
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 fcfbf11..49658cd 100644
--- a/db/main.go
+++ b/db/main.go
@@ -36,7 +36,7 @@ func NewSafeDB() (*SafeDB, error) {
CREATE TABLE IF NOT EXISTS Accounts(
id INTEGER PRIMARY KEY,
UserName CHAR(64) NOT NULL UNIQUE,
- PassHash CHAR(128) NOT NULL,
+ Password CHAR(128) NOT NULL,
Level INTEGER NOT NULL,
FirstName CHAR(32) NOT NULL,