10 lines
266 B
MySQL
10 lines
266 B
MySQL
|
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)
|
||
|
);
|