diff --git a/functions.php b/functions.php index 45c17ec2..791a4191 100644 --- a/functions.php +++ b/functions.php @@ -1511,7 +1511,11 @@ db_query($link, "insert into ttrss_labels (owner_uid,sql_exp,description) values ('$uid','last_read is null and unread = false', 'Updated articles')"); - + + db_query($link, "insert into ttrss_feeds (owner_uid,title,feed_url) + values ('$uid', 'Tiny Tiny RSS: Dev. Blog', + 'http://bah.org.ru/archives/category/tt-rss/feed')"); + db_query($link, "insert into ttrss_feeds (owner_uid,title,feed_url) values ('$uid', 'Tiny Tiny RSS: New Releases', 'http://tt-rss.spb.ru/releases.rss')"); diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index c75e210f..419b94f4 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -70,6 +70,9 @@ create table ttrss_feeds (id serial not null primary key, create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid); +insert into ttrss_feeds (owner_uid, title, feed_url) values + (1, 'Tiny Tiny RSS: Dev. Blog', 'http://bah.org.ru/archives/category/tt-rss/feed'); + insert into ttrss_feeds (owner_uid, title, feed_url) values (1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.spb.ru/releases.rss');