new index.db schema, removed likes and reports

This commit is contained in:
2025-09-20 16:05:53 -03:00
parent 33d636b41d
commit 0485b8325f

View File

@@ -6,13 +6,11 @@ CREATE TABLE packages(
public_key BLOB NOT NULL,
signature BLOB NOT NULL,
description TEXT NOT NULL,
dependencies TEXT,
dependencies TEXT NOT NULL DEFAULT '',
package_url TEXT NOT NULL,
author TEXT NOT NULL,
author_verified INTEGER NOT NULL DEFAULT 0,
family TEXT NOT NULL,
likes INTEGER NOT NULL DEFAULT 0,
reports INTEGER NOT NULL DEFAULT 0,
arch TEXT NOT NULL,
os TEXT NOT NULL,
serial INTEGER NOT NULL