mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:35:55 +00:00
archived feeds: expire old entries (schema bump)
This commit is contained in:
@@ -240,8 +240,8 @@ class RPC extends Handler_Protected {
|
||||
$new_feed_id = (int)$row['id'] + 1;
|
||||
|
||||
$sth = $this->pdo->prepare("INSERT INTO ttrss_archived_feeds
|
||||
(id, owner_uid, title, feed_url, site_url)
|
||||
SELECT ?, owner_uid, title, feed_url, site_url from ttrss_feeds
|
||||
(id, owner_uid, title, feed_url, site_url, created)
|
||||
SELECT ?, owner_uid, title, feed_url, site_url, NOW() from ttrss_feeds
|
||||
WHERE id = ?");
|
||||
|
||||
$sth->execute([$new_feed_id, $feed_id]);
|
||||
|
||||
Reference in New Issue
Block a user