[entropy.db] fix dependstable sql schema

This commit is contained in:
Fabio Erculiani
2009-12-28 10:58:57 +01:00
parent 747cb8a71b
commit 4e2fe82e20
+2 -1
View File
@@ -130,7 +130,8 @@ class EntropyRepository(EntropyRepositoryPluginStore, TextInterface):
CREATE TABLE dependstable (
iddependency INTEGER PRIMARY KEY,
idpackage INTEGER
idpackage INTEGER,
FOREIGN KEY(idpackage) REFERENCES baseinfo(idpackage) ON DELETE CASCADE
);
CREATE TABLE conflicts (