1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:15:55 +00:00

schema: add ttrss_users.last_auth_attempt

This commit is contained in:
Andrew Dolgov
2021-03-12 09:19:50 +03:00
parent 96d89fe912
commit b9268fcc88
5 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
alter table ttrss_users add column last_auth_attempt timestamp;
alter table ttrss_users alter column last_auth_attempt set default null;

View File

@@ -52,6 +52,7 @@ create table ttrss_users (id serial not null primary key,
otp_enabled boolean not null default false,
otp_secret varchar(250) default null,
resetpass_token varchar(250) default null,
last_auth_attempt timestamp default null,
created timestamp default null);
insert into ttrss_users (login,pwd_hash,access_level) values ('admin',