summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_mysql.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_mysql.sql
parent2d3ff643609a6767ca0d47cd3a38a3832350be72 (diff)
parent1e871938153497d46537fc313a79155717d532d0 (diff)
Merge branch 'tribut-enclosure-size'
Diffstat (limited to 'schema/ttrss_schema_mysql.sql')
-rw-r--r--schema/ttrss_schema_mysql.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index f8ff944c0..a9a358220 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -301,7 +301,7 @@ create table ttrss_tags (id integer primary key auto_increment,
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
-insert into ttrss_version values (125);
+insert into ttrss_version values (126);
create table ttrss_enclosures (id integer primary key auto_increment,
content_url text not null,
@@ -309,6 +309,8 @@ create table ttrss_enclosures (id integer primary key auto_increment,
post_id integer not null,
title text not null,
duration text not null,
+ width integer not null default 0,
+ height integer not null default 0,
index (post_id),
foreign key (post_id) references ttrss_entries(id) ON DELETE cascade) ENGINE=InnoDB DEFAULT CHARSET=UTF8;