summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-03-06 19:06:05 +0300
committerAndrew Dolgov <[email protected]>2019-03-06 19:06:05 +0300
commit38e01270d876cc7e43923629f038bbae629f307b (patch)
treeae505aaa6cf83c446267a23146ff82c5ac707fdc /schema/ttrss_schema_pgsql.sql
parent26c226c8e44cd1f817aad191b4937aaa7b5674b1 (diff)
archived feeds: expire old entries (schema bump)
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r--schema/ttrss_schema_pgsql.sql3
1 files changed, 2 insertions, 1 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index 3f0e012b3..ca78dd2dc 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -109,6 +109,7 @@ insert into ttrss_feeds (owner_uid, title, feed_url) values
create table ttrss_archived_feeds (id integer not null primary key,
owner_uid integer not null references ttrss_users(id) on delete cascade,
+ created timestamp not null,
title varchar(200) not null,
feed_url text not null,
site_url varchar(250) not null default '');
@@ -267,7 +268,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 (135);
+insert into ttrss_version values (136);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,