bump schema version

This commit is contained in:
Andrew Dolgov 2006-08-21 16:09:05 +01:00
parent 4803eed2b9
commit e2a8a097bd
5 changed files with 7 additions and 3 deletions

View file

@ -16,7 +16,7 @@
$op = $_REQUEST["op"];
define('SCHEMA_VERSION', 9);
define('SCHEMA_VERSION', 10);
require_once "sanity_check.php";
require_once "config.php";

View file

@ -183,7 +183,7 @@ create table ttrss_tags (id integer primary key auto_increment,
create table ttrss_version (schema_version int not null) TYPE=InnoDB;
insert into ttrss_version values (9);
insert into ttrss_version values (10);
create table ttrss_prefs_types (id integer not null primary key,
type_name varchar(100) not null) TYPE=InnoDB;

View file

@ -167,7 +167,7 @@ create index ttrss_tags_owner_uid_index on ttrss_tags(owner_uid);
create table ttrss_version (schema_version int not null);
insert into ttrss_version values (9);
insert into ttrss_version values (10);
create table ttrss_prefs_types (id integer not null primary key,
type_name varchar(100) not null);

View file

@ -1,3 +1,5 @@
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('DIGEST_ENABLE', 1, 'false', 'Enable e-mail digest',1,
'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');
update ttrss_version set schema_version = 10;

View file

@ -1,3 +1,5 @@
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('DIGEST_ENABLE', 1, 'false', 'Enable e-mail digest',1,
'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');
update ttrss_version set schema_version = 10;