#73 setup password hashing with argin2id and update some infra
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 59s
Some checks failed
Build Docker Image / Explore-Gitea-Actions (push) Failing after 59s
This commit is contained in:
14
api/migrations/002_users.sql
Normal file
14
api/migrations/002_users.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
CREATE TABLE user (
|
||||
user_uuid TEXT NOT NULL UNIQUE PRIMARY KEY,
|
||||
|
||||
email TEXT NOT NULL,
|
||||
email_verified BOOLEAN NOT NULL,
|
||||
|
||||
is_admin BOOLEAN NOT NULL,
|
||||
|
||||
password BLOB NOT NULL,
|
||||
salt BLOB NOT NULL,
|
||||
|
||||
created_at DATETIME NOT NULL,
|
||||
) WITHOUT ROWID;
|
||||
Reference in New Issue
Block a user