From: Nathan Wagner Date: Sun, 1 Jul 2018 02:27:23 +0000 (+0000) Subject: change repo db elf tables X-Git-Tag: v0.1.6~96 X-Git-Url: https://pd.if.org/git/?a=commitdiff_plain;h=ec7869647ac453722efaf40ad0c61f186166040d;p=zpackage change repo db elf tables --- diff --git a/db.sql b/db.sql index e1c1a5e..6eb0190 100644 --- a/db.sql +++ b/db.sql @@ -104,10 +104,22 @@ without rowid ; create table elfinfo ( - file text, -- hash of blob + file text primary key, -- hash of blob elftype text, foreign key (file) references files on delete cascade -); +) +without rowid +; + +create table elfdeps ( + file text, + soname text, + dependency text, + primary key (file, soname, dependency), + foreign key (file) references files on delete cascade +) +without rowid +; -- TODO just elf information? -- and just hash, not package?