;
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?