diff options
author | Andrew Dolgov <[email protected]> | 2009-01-16 10:33:25 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-16 10:33:25 +0100 |
commit | 0c630ef32636378bbf8c25211da256b4d7a29069 (patch) | |
tree | c588d17c30266adf9fda54c9e1a88edb990c5a1c /schema/ttrss_schema_pgsql.sql | |
parent | df00fb805181b8ac88d28f37ee3665f33ca85e3e (diff) |
schema: add ttrss_feedbrowser_cache (bump schema)
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r-- | schema/ttrss_schema_pgsql.sql | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index 5d818208d..142a70f95 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -1,3 +1,4 @@ +drop table ttrss_feedbrowser_cache; drop table ttrss_version; drop table ttrss_labels; drop table ttrss_filters; @@ -199,7 +200,7 @@ create index ttrss_tags_owner_uid_index on ttrss_tags(owner_uid); create table ttrss_version (schema_version int not null); -insert into ttrss_version values (47); +insert into ttrss_version values (48); create table ttrss_enclosures (id serial not null primary key, content_url text not null, @@ -345,4 +346,8 @@ create index ttrss_sessions_expire_index on ttrss_sessions(expire); create function SUBSTRING_FOR_DATE(timestamp, int, int) RETURNS text AS 'SELECT SUBSTRING(CAST($1 AS text), $2, $3)' LANGUAGE 'sql'; +create table ttrss_feedbrowser_cache ( + feed_url text not null primary key, + subscribers integer not null); + commit; |