<?php
define('EXPECTED_CONFIG_VERSION', 26);
- define('SCHEMA_VERSION', 102);
+ define('SCHEMA_VERSION', 103);
define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . VERSION . ' (http://tt-rss.org/)');
$fetch_last_error = false;
date_entered datetime not null,
date_updated datetime not null,
num_comments integer not null default 0,
+ plugin_data longtext,
comments varchar(250) not null default '',
author varchar(250) not null default '') ENGINE=InnoDB DEFAULT CHARSET=UTF8;
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
-insert into ttrss_version values (102);
+insert into ttrss_version values (103);
create table ttrss_enclosures (id integer primary key auto_increment,
content_url text not null,
date_updated timestamp not null,
num_comments integer not null default 0,
comments varchar(250) not null default '',
+ plugin_data text,
author varchar(250) not null default '');
create index ttrss_entries_guid_index on ttrss_entries(guid);
create table ttrss_version (schema_version int not null);
-insert into ttrss_version values (102);
+insert into ttrss_version values (103);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
--- /dev/null
+begin;
+
+alter table ttrss_entries add column plugin_data longtext;
+
+update ttrss_version set schema_version = 103;
+
+commit;
--- /dev/null
+begin;
+
+alter table ttrss_entries add column plugin_data text;
+
+update ttrss_version set schema_version = 103;
+
+commit;