]> git.wh0rd.org - tt-rss.git/blobdiff - schema/ttrss_schema_pgsql.sql
implement proper last_marked/last_published feeds for proper sorting of
[tt-rss.git] / schema / ttrss_schema_pgsql.sql
index e19b8cbc64524de1731447fb5bd94cbcfe0acd80..5063c4dd81a1c7f5ce893cf386a6abe7800e1c9b 100644 (file)
@@ -159,6 +159,8 @@ create table ttrss_user_entries (
        label_cache text not null,
        last_read timestamp,
        score int not null default 0,
+       last_marked timestamp,
+       last_published timestamp,
        note text,
        unread boolean not null default true);
 
@@ -258,7 +260,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 (104);
+insert into ttrss_version values (105);
 
 create table ttrss_enclosures (id serial not null primary key,
        content_url text not null,