summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-07-16 11:49:37 +0400
committerAndrew Dolgov <[email protected]>2014-07-16 11:49:37 +0400
commit96ad6edc6c4562636312af3f23fffcdc9d4626a9 (patch)
treef19d0c80cac3b17524dd64cf6e30a988354e1379 /schema/ttrss_schema_pgsql.sql
parent2d3ff643609a6767ca0d47cd3a38a3832350be72 (diff)
parent1e871938153497d46537fc313a79155717d532d0 (diff)
Merge branch 'tribut-enclosure-size'
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r--schema/ttrss_schema_pgsql.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index 3aa65e8b2..c09f044fb 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -261,13 +261,15 @@ 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 (125);
+insert into ttrss_version values (126);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
content_type varchar(250) not null,
title text not null,
duration text not null,
+ width integer not null default 0,
+ height integer not null default 0,
post_id integer references ttrss_entries(id) ON DELETE cascade NOT NULL);
create index ttrss_enclosures_post_id_idx on ttrss_enclosures(post_id);