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:
2
sql/pgsql/migrations/145.sql
Normal file
2
sql/pgsql/migrations/145.sql
Normal 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;
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user