mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-09-14 22:48:12 -04:00
CLI option no-default-feeds
https://github.com/FreshRSS/FreshRSS/issues/1095
This commit is contained in:
1 parent
879af85d3c
commit
1182129ce5
7 files changed
+50
-5
No files matched your search
@@ -52,6 +52,10 @@ $SQL_CREATE_TABLES = array(
|
||||
'CREATE INDEX %1$sentry_lastSeen_index ON "%1$sentry" ("lastSeen");',
|
||||
|
||||
'INSERT INTO "%1$scategory" (name) SELECT \'%2$s\' WHERE NOT EXISTS (SELECT id FROM "%1$scategory" WHERE id = 1);',
|
||||
);
|
||||
|
||||
global $SQL_INSERT_FEEDS;
|
||||
$SQL_INSERT_FEEDS = array(
|
||||
'INSERT INTO "%1$sfeed" (url, category, name, website, description, ttl) SELECT \'http://freshrss.org/feeds/all.atom.xml\', 1, \'FreshRSS.org\', \'http://freshrss.org/\', \'FreshRSS, a free, self-hostable aggregator…\', 86400 WHERE NOT EXISTS (SELECT id FROM "%1$sfeed" WHERE url = \'http://freshrss.org/feeds/all.atom.xml\');',
|
||||
'INSERT INTO "%1$sfeed" (url, category, name, website, description, ttl) SELECT \'https://github.com/FreshRSS/FreshRSS/releases.atom\', 1, \'FreshRSS @ GitHub\', \'https://github.com/FreshRSS/FreshRSS/\', \'FreshRSS releases @ GitHub\', 86400 WHERE NOT EXISTS (SELECT id FROM "%1$sfeed" WHERE url = \'https://github.com/FreshRSS/FreshRSS/releases.atom\');',
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user