bump schema version
This commit is contained in:
parent
3b0027a4be
commit
41765fef9b
|
@ -28,7 +28,7 @@
|
|||
exit;
|
||||
}
|
||||
|
||||
define('SCHEMA_VERSION', 3);
|
||||
define('SCHEMA_VERSION', 4);
|
||||
|
||||
require_once "sanity_check.php";
|
||||
require_once "config.php";
|
||||
|
|
|
@ -169,7 +169,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 (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;
|
||||
|
|
|
@ -151,7 +151,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 (3);
|
||||
insert into ttrss_version values (4);
|
||||
|
||||
create table ttrss_prefs_types (id integer not null primary key,
|
||||
type_name varchar(100) not null);
|
||||
|
|
|
@ -3,4 +3,6 @@ begin;
|
|||
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;
|
||||
|
|
|
@ -3,4 +3,6 @@ begin;
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue