exit;
}
- define('SCHEMA_VERSION', 2);
+ define('SCHEMA_VERSION', 3);
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 (2);
+insert into ttrss_version values (3);
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 (2);
+insert into ttrss_version values (3);
create table ttrss_prefs_types (id integer not null primary key,
type_name varchar(100) not null);
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('ENABLE_SEARCH_TOOLBAR', 1, 'false', 'Enable search toolbar',2);
+update ttrss_version set schema_version = 3;
+
commit;
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('ENABLE_SEARCH_TOOLBAR', 1, 'false', 'Enable search toolbar',2);
+update ttrss_version set schema_version = 3;
+
commit;
require_once "functions.php";
require_once "db.php";
- define('MAX_SOURCE_SCHEMA_VERSION', 2);
- define('TARGET_SCHEMA_VERSION', 2);
+ define('MAX_SOURCE_SCHEMA_VERSION', 3);
+ define('TARGET_SCHEMA_VERSION', 3);
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);