pacco/migrations/0001_pkg_meta.sql

10 lines
266 B
MySQL
Raw Permalink Normal View History

2025-01-26 11:08:03 +01:00
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)
);