require_once "functions.php";
define('EXPECTED_CONFIG_VERSION', 17);
- define('SCHEMA_VERSION', 48);
+ define('SCHEMA_VERSION', 49);
if (!file_exists("config.php")) {
print __("<b>Fatal Error</b>: You forgot to copy
feed_id integer not null,
owner_uid integer not null,
value integer not null default 0,
+ updated datetime not null,
foreign key (feed_id) references ttrss_feeds(id) ON DELETE CASCADE,
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE
);
create table ttrss_version (schema_version int not null) TYPE=InnoDB;
-insert into ttrss_version values (47);
+insert into ttrss_version values (49);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
create table ttrss_counters_cache (
feed_id integer not null references ttrss_feeds(id) ON DELETE CASCADE,
owner_uid integer not null references ttrss_users(id) ON DELETE CASCADE,
+ updated timestamp not null,
value integer not null default 0);
create table ttrss_entries (id serial not null primary key,
create table ttrss_version (schema_version int not null);
-insert into ttrss_version values (48);
+insert into ttrss_version values (49);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,