pacco/migrations/0001_pkg_meta.sql
2025-01-26 11:08:03 +01:00

9 lines
266 B
SQL

CREATE TABLE IF NOT EXISTS package_meta (
repo TEXT NOT NULL,
name TEXT NOT NULL,
arch TEXT NOT NULL,
version TEXT NOT NULL,
rel INTEGER NOT NULL,
download_count INTEGER NOT NULL DEFAULT 1,
PRIMARY KEY (repo, name, arch, version, rel)
);