diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index 11b2106e0..c07782e3f 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -213,19 +213,6 @@ create table ttrss_filters (id integer not null primary key auto_increment, index (action_id), foreign key (action_id) references ttrss_filter_actions(id) ON DELETE CASCADE) TYPE=InnoDB; -create table ttrss_labels (id integer not null primary key auto_increment, - owner_uid integer not null, - sql_exp text not null, - description varchar(250) not null, - index (owner_uid), - foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) TYPE=InnoDB; - -insert into ttrss_labels (owner_uid,sql_exp,description) values (1,'unread = true', - 'Unread articles'); - -insert into ttrss_labels (owner_uid,sql_exp,description) values (1, - 'last_read is null and unread = false', 'Updated articles'); - create table ttrss_tags (id integer primary key auto_increment, owner_uid integer not null, tag_name varchar(250) not null, diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index b2ea2a596..8646632d9 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -191,19 +191,6 @@ create table ttrss_filters (id serial not null primary key, action_id integer not null default 1 references ttrss_filter_actions(id) on delete cascade, action_param varchar(250) not null default ''); -create table ttrss_labels (id serial not null primary key, - owner_uid integer not null references ttrss_users(id) on delete cascade, - sql_exp text not null, - description varchar(250) not null); - -create index ttrss_labels_owner_uid_index on ttrss_labels(owner_uid); - -insert into ttrss_labels (owner_uid,sql_exp,description) values (1,'unread = true', - 'Unread articles'); - -insert into ttrss_labels (owner_uid,sql_exp,description) values (1, - 'last_read is null and unread = false', 'Updated articles'); - create table ttrss_tags (id serial not null primary key, tag_name varchar(250) not null, owner_uid integer not null references ttrss_users(id) on delete cascade,