From da019aa4a8d5fa39e2cda894fd719035f10f04cd Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Mon, 4 Mar 2013 11:44:24 +0100
Subject: importpkg: record the source package relationship

---
 schema.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index b5397ee..878a5fe 100644
--- a/schema.sql
+++ b/schema.sql
@@ -1,6 +1,7 @@
 CREATE TABLE package (package TEXT PRIMARY KEY, version TEXT, architecture TEXT);
 CREATE TABLE content (package TEXT, filename TEXT, size INTEGER, function TEXT, hash TEXT, FOREIGN KEY (package) REFERENCES package(package));
 CREATE TABLE dependency (package TEXT, required TEXT, FOREIGN KEY (package) REFERENCES package(package), FOREIGN KEY (required) REFERENCES package(package));
+CREATE TABLE source (source TEXT, package TEXT, FOREIGN KEY (package) REFERENCES package(package));
 CREATE INDEX content_package_index ON content (package);
 CREATE INDEX content_hash_index ON content (hash);
 
-- 
cgit v1.2.3

