diff options
author | Felix Eckhofer <[email protected]> | 2014-07-15 14:53:11 +0200 |
---|---|---|
committer | Felix Eckhofer <[email protected]> | 2014-07-15 15:05:08 +0200 |
commit | 06c4c9ebaec3187d5e74693d932814e8d991daba (patch) | |
tree | bee15f78079d7ab594863a081ddc7c3e1a4c43da /schema/ttrss_schema_pgsql.sql | |
parent | 1da6e2200616b39017202604750aa1f5b0ac8e00 (diff) |
Update schema for size support of enclosures
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r-- | schema/ttrss_schema_pgsql.sql | 4 |
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); |