Adds needsPasswordReseti DB field for future use.

This commit is contained in:
Dominik Picheta 2018-05-18 11:59:20 +01:00
commit 7f5e68331c

View file

@ -78,7 +78,8 @@ proc initialiseDb(admin: tuple[username, password, email: string]) =
salt varbin(128) not null, salt varbin(128) not null,
status varchar(30) not null, status varchar(30) not null,
lastOnline timestamp not null default (DATETIME('now')), 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]), []) );""" % [userNameType, passwordType, emailType]), [])
db.exec(sql""" db.exec(sql"""