remove ttrss_version from base schema
This commit is contained in:
parent
5eb0f3d640
commit
bd4ade6329
|
@ -9,7 +9,6 @@ drop table if exists ttrss_access_keys;
|
||||||
drop table if exists ttrss_user_labels2;
|
drop table if exists ttrss_user_labels2;
|
||||||
drop table if exists ttrss_labels2;
|
drop table if exists ttrss_labels2;
|
||||||
drop table if exists ttrss_feedbrowser_cache;
|
drop table if exists ttrss_feedbrowser_cache;
|
||||||
drop table if exists ttrss_version;
|
|
||||||
drop table if exists ttrss_labels;
|
drop table if exists ttrss_labels;
|
||||||
drop table if exists ttrss_filters2_actions;
|
drop table if exists ttrss_filters2_actions;
|
||||||
drop table if exists ttrss_filters2_rules;
|
drop table if exists ttrss_filters2_rules;
|
||||||
|
@ -296,10 +295,6 @@ create table ttrss_tags (id integer primary key auto_increment,
|
||||||
index (owner_uid),
|
index (owner_uid),
|
||||||
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
||||||
|
|
||||||
create table ttrss_version (schema_version int not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
|
|
||||||
|
|
||||||
insert into ttrss_version values (142);
|
|
||||||
|
|
||||||
create table ttrss_enclosures (id integer primary key auto_increment,
|
create table ttrss_enclosures (id integer primary key auto_increment,
|
||||||
content_url text not null,
|
content_url text not null,
|
||||||
content_type varchar(250) not null,
|
content_type varchar(250) not null,
|
||||||
|
|
|
@ -6,7 +6,6 @@ drop table if exists ttrss_access_keys;
|
||||||
drop table if exists ttrss_user_labels2;
|
drop table if exists ttrss_user_labels2;
|
||||||
drop table if exists ttrss_labels2;
|
drop table if exists ttrss_labels2;
|
||||||
drop table if exists ttrss_feedbrowser_cache;
|
drop table if exists ttrss_feedbrowser_cache;
|
||||||
drop table if exists ttrss_version;
|
|
||||||
drop table if exists ttrss_labels;
|
drop table if exists ttrss_labels;
|
||||||
drop table if exists ttrss_filters2_rules;
|
drop table if exists ttrss_filters2_rules;
|
||||||
drop table if exists ttrss_filters2_actions;
|
drop table if exists ttrss_filters2_actions;
|
||||||
|
@ -278,10 +277,6 @@ create table ttrss_tags (id serial not null primary key,
|
||||||
create index ttrss_tags_owner_uid_index on ttrss_tags(owner_uid);
|
create index ttrss_tags_owner_uid_index on ttrss_tags(owner_uid);
|
||||||
create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
|
create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
|
||||||
|
|
||||||
create table ttrss_version (schema_version int not null);
|
|
||||||
|
|
||||||
insert into ttrss_version values (142);
|
|
||||||
|
|
||||||
create table ttrss_enclosures (id serial not null primary key,
|
create table ttrss_enclosures (id serial not null primary key,
|
||||||
content_url text not null,
|
content_url text not null,
|
||||||
content_type varchar(250) not null,
|
content_type varchar(250) not null,
|
||||||
|
|
Loading…
Reference in New Issue