fixed databaseschema again

This commit is contained in:
2025-10-05 12:17:33 -03:00
parent 4e2d506a01
commit 7ef7b60cf5
3 changed files with 13 additions and 12 deletions

View File

@@ -35,11 +35,13 @@ CREATE TABLE IF NOT EXISTS packages (
version TEXT NOT NULL,
dependencies TEXT NOT NULL DEFAULT '',
description TEXT NOT NULL,
family TEXT NOT NULL,
package_d TEXT NOT NULL,
filename TEXT NOT NULL,
os TEXT NOT NULL,
arch TEXT NOT NULL,
in_cache INTEGER NOT NULL DEFAULT 1,
serial INTEGER NOT NULL
serial INTEGER NOT NULL,
UNIQUE(query_name, version),
UNIQUE(query_name, serial)
);