diff options
author | Andrew Dolgov <[email protected]> | 2012-09-03 18:33:46 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-03 18:33:46 +0400 |
commit | fb70f26ed91dbd191351026d917afcef9d8d2eb1 (patch) | |
tree | 91f811cb0816f4804cbdb11015b6d145daba4bfa /schema/ttrss_schema_pgsql.sql | |
parent | fd26d5bfdf1c79c340e81b52cf6b45814bdf2884 (diff) |
implement one time passwords using TOTP
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r-- | schema/ttrss_schema_pgsql.sql | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index 600714e6e..377261dfa 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -46,6 +46,7 @@ create table ttrss_users (id serial not null primary key, last_digest_sent timestamp default null, salt varchar(250) not null default '', twitter_oauth text default null, + otp_enabled boolean not null default false, created timestamp default null); insert into ttrss_users (login,pwd_hash,access_level) values ('admin', @@ -229,7 +230,7 @@ create table ttrss_filters2(id serial not null primary key, owner_uid integer not null references ttrss_users(id) on delete cascade, match_any_rule boolean not null default false, enabled boolean not null default true); - + create table ttrss_filters2_rules(id serial not null primary key, filter_id integer not null references ttrss_filters2(id) on delete cascade, reg_exp varchar(250) not null, @@ -253,7 +254,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id); create table ttrss_version (schema_version int not null); -insert into ttrss_version values (96); +insert into ttrss_version values (97); create table ttrss_enclosures (id serial not null primary key, content_url text not null, |