Open sjehuda opened 6 months ago
id INTEGER NOT NULL,
feed_id INTEGER NOT NULL,
tag_id INTEGER NOT NULL,
-- ...
PRIMARY KEY ("id")
Wouldn't the primary key be normally feed_id, tag_id
in such tables (without a need for a dedicated id
column)?
Yes, and I think this is what Liferea does too.
I am not an expert, so please do not consider my advises fully.
If we do this, loading of tags will be faster, yes? See #559 #594
Feature requests
This is a proposal to add two tables to the database.
This should be storage wise and accelerate queries.
See my implementation at Slixfeed/sqlite.py