mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-02-25 19:16:38 -05:00
Add database field attributes for entries (#4444)
* Add database field attributes for entries Just like we already have for categories, feeds, etc. No core use yet, but allows in particular extensions to save per-entry data * Fix PHPStand * Fix wrong variable
This commit is contained in:
committed by
GitHub
parent
2d807e06b1
commit
0866fdaee8
@@ -49,6 +49,7 @@ CREATE TABLE IF NOT EXISTS `_entry` (
|
||||
"is_favorite" SMALLINT NOT NULL DEFAULT 0,
|
||||
"id_feed" INT, -- 1.20.0
|
||||
"tags" VARCHAR(1023),
|
||||
"attributes" TEXT, -- v1.20.0
|
||||
FOREIGN KEY ("id_feed") REFERENCES `_feed` ("id") ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
UNIQUE ("id_feed","guid")
|
||||
);
|
||||
@@ -82,6 +83,7 @@ CREATE TABLE IF NOT EXISTS `_entrytmp` ( -- v1.7
|
||||
"is_favorite" SMALLINT NOT NULL DEFAULT 0,
|
||||
"id_feed" INT, -- 1.20.0
|
||||
"tags" VARCHAR(1023),
|
||||
"attributes" TEXT, -- v1.20.0
|
||||
FOREIGN KEY ("id_feed") REFERENCES `_feed` ("id") ON DELETE CASCADE ON UPDATE CASCADE,
|
||||
UNIQUE ("id_feed","guid")
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user