1
0

Ignore duplicate entries in db.

This commit is contained in:
2017-12-11 01:28:52 +01:00
parent 7deab3588b
commit c6cbd890e3
3 changed files with 17 additions and 5 deletions

View File

@ -55,6 +55,12 @@ CREATE TABLE "updates" (
"type" TEXT, -- FULL or OTA
"note" TEXT -- some note for this file (optional)
);
CREATE UNIQUE INDEX "index_updates" ON "updates" (
"tv",
"fv",
"fwId",
"file_id"
);
-- Maps update files to devices
CREATE TABLE "update_map" (