Fix foreign key in primary keys of frecency table blocking other operations

This commit is contained in:
Exidex 2024-06-07 19:28:39 +02:00
parent af2f00c670
commit cba4a78cae

View file

@ -0,0 +1,14 @@
DROP TABLE plugin_entrypoint_frecency_stats;
CREATE TABLE plugin_entrypoint_frecency_stats
(
entrypoint_id TEXT NOT NULL,
plugin_id TEXT NOT NULL,
reference_time REAL NOT NULL,
half_life REAL NOT NULL,
last_accessed REAL NOT NULL,
frecency REAL NOT NULL,
num_accesses INTEGER NOT NULL,
PRIMARY KEY (entrypoint_id, plugin_id)
);