mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 22:53:27 -04:00
SQL: Add f.ttl column to control feed cache duration
Preparation of https://github.com/marienfressinaud/FreshRSS/issues/250 Will also be used to disable automatic update for selected feeds
This commit is contained in:
@@ -19,6 +19,7 @@ $SQL_CREATE_TABLES = array(
|
||||
`httpAuth` varchar(511) DEFAULT NULL,
|
||||
`error` boolean DEFAULT 0,
|
||||
`keep_history` MEDIUMINT NOT NULL DEFAULT -2,
|
||||
`ttl` INT NOT NULL DEFAULT -2,
|
||||
`cache_nbEntries` int DEFAULT 0,
|
||||
`cache_nbUnreads` int DEFAULT 0,
|
||||
FOREIGN KEY (`%1$scategory`) REFERENCES `%1$scategory`(`id`) ON DELETE SET NULL ON UPDATE CASCADE,
|
||||
|
||||
Reference in New Issue
Block a user