mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 20:41:29 +00:00
bump schema version
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
$op = $_REQUEST["op"];
|
$op = $_REQUEST["op"];
|
||||||
|
|
||||||
define('SCHEMA_VERSION', 9);
|
define('SCHEMA_VERSION', 10);
|
||||||
|
|
||||||
require_once "sanity_check.php";
|
require_once "sanity_check.php";
|
||||||
require_once "config.php";
|
require_once "config.php";
|
||||||
|
|||||||
@@ -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;
|
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,
|
create table ttrss_prefs_types (id integer not null primary key,
|
||||||
type_name varchar(100) not null) TYPE=InnoDB;
|
type_name varchar(100) not null) TYPE=InnoDB;
|
||||||
|
|||||||
@@ -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);
|
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,
|
create table ttrss_prefs_types (id integer not null primary key,
|
||||||
type_name varchar(100) not null);
|
type_name varchar(100) not null);
|
||||||
|
|||||||
@@ -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,
|
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');
|
'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');
|
||||||
|
|
||||||
|
update ttrss_version set schema_version = 10;
|
||||||
|
|
||||||
|
|||||||
@@ -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,
|
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');
|
'This option enables sending daily digest of new (and unread) headlines on your configured e-mail address');
|
||||||
|
|
||||||
|
update ttrss_version set schema_version = 10;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user