hash password
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
CREATE TABLE IF NOT EXISTS user (
|
||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
`avatar` VARCHAR,
|
||||
`username` VARCHAR UNIQUE,
|
||||
`password` VARCHAR,
|
||||
`username` VARCHAR UNIQUE NOT NULL,
|
||||
`password_hash` VARCHAR NOT NULL,
|
||||
`last_seen` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`created_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user