From 34f294414fb326b483fd04f05425a4aa2ff8be4b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Nov 2021 11:35:40 +0300 Subject: [PATCH] schema: remove default subscription of admin to the forums rss feed --- sql/mysql/schema.sql | 3 --- sql/pgsql/schema.sql | 3 --- 2 files changed, 6 deletions(-) diff --git a/sql/mysql/schema.sql b/sql/mysql/schema.sql index d8e6e270a..ff6ff4797 100644 --- a/sql/mysql/schema.sql +++ b/sql/mysql/schema.sql @@ -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, diff --git a/sql/pgsql/schema.sql b/sql/pgsql/schema.sql index 50bf375f2..b539419b6 100644 --- a/sql/pgsql/schema.sql +++ b/sql/pgsql/schema.sql @@ -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,