Adds needsPasswordReseti DB field for future use.
This commit is contained in:
parent
8d41060c54
commit
7f5e68331c
1 changed files with 2 additions and 1 deletions
|
|
@ -78,7 +78,8 @@ proc initialiseDb(admin: tuple[username, password, email: string]) =
|
|||
salt varbin(128) not null,
|
||||
status varchar(30) not null,
|
||||
lastOnline timestamp not null default (DATETIME('now')),
|
||||
isDeleted boolean not null default 0
|
||||
isDeleted boolean not null default 0,
|
||||
needsPasswordReset boolean not null default 0
|
||||
);""" % [userNameType, passwordType, emailType]), [])
|
||||
|
||||
db.exec(sql"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue