exit;
}
- define('SCHEMA_VERSION', 3);
+ define('SCHEMA_VERSION', 4);
require_once "sanity_check.php";
require_once "config.php";
create table ttrss_version (schema_version int not null) TYPE=InnoDB;
-insert into ttrss_version values (3);
+insert into ttrss_version values (4);
create table ttrss_prefs_types (id integer not null primary key,
type_name varchar(100) not null) TYPE=InnoDB;
create table ttrss_version (schema_version int not null);
-insert into ttrss_version values (3);
+insert into ttrss_version values (4);
create table ttrss_prefs_types (id integer not null primary key,
type_name varchar(100) not null);
alter table ttrss_feeds add column parent_feed integer;
alter table ttrss_feeds add foreign key (parent_feed) references ttrss_feeds(id) on delete set null;
+update ttrss_version set schema_version = 4;
+
commit;
alter table ttrss_feeds add column parent_feed integer;
alter table ttrss_feeds add foreign key (parent_feed) references ttrss_feeds(id) on delete set null;
+update ttrss_version set schema_version = 4;
+
commit;