schema: remove default subscription of admin to the forums rss feed

This commit is contained in:
Andrew Dolgov 2021-11-17 11:35:40 +03:00
parent bd66eff7cc
commit 34f294414f
2 changed files with 0 additions and 6 deletions

View File

@ -149,9 +149,6 @@ create table ttrss_feeds (id integer not null auto_increment primary key,
foreign key (parent_feed) references ttrss_feeds(id) ON DELETE SET NULL,
unique(feed_url(255), owner_uid)) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
insert into ttrss_feeds (owner_uid, title, feed_url) values
((select id from ttrss_users where login = 'admin'), 'Tiny Tiny RSS: Forum', 'https://tt-rss.org/forum/rss.php');
create table ttrss_entries (id integer not null primary key auto_increment,
title text not null,
guid varchar(255) not null unique,

View File

@ -118,9 +118,6 @@ create table ttrss_feeds (id serial not null primary key,
create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid);
create index ttrss_feeds_cat_id_idx on ttrss_feeds(cat_id);
insert into ttrss_feeds (owner_uid, title, feed_url) values
((select id from ttrss_users where login = 'admin'), 'Tiny Tiny RSS: Forum', 'https://tt-rss.org/forum/rss.php');
create table ttrss_archived_feeds (id integer not null primary key,
owner_uid integer not null references ttrss_users(id) on delete cascade,
created timestamp not null,