summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-04-12 11:46:44 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-04-12 13:02:54 +0200
commitbd78b14cb5490cdb950cfc27925b0f3000a95745 (patch)
treee9b58fc9bfdc7081d72201b88ae102225287e53d
parent3d3fed6910cd14d5e5dd7c3c3d6cc91223f4a9ee (diff)
downloadaur-bd78b14cb5490cdb950cfc27925b0f3000a95745.tar.gz
aur-bd78b14cb5490cdb950cfc27925b0f3000a95745.tar.xz
Fix syntax error in "CREATE TABLE" statement in the SQL schema.
Regression introduced in commit 7c91c592458b7532806ef75fe09146f82f085f3b. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--support/schema/aur-schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/schema/aur-schema.sql b/support/schema/aur-schema.sql
index d8c85601..2326e765 100644
--- a/support/schema/aur-schema.sql
+++ b/support/schema/aur-schema.sql
@@ -125,7 +125,7 @@ CREATE TABLE PackageDepends (
DepName VARCHAR(64) NOT NULL,
DepCondition VARCHAR(20),
INDEX (PackageID),
- FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE,
+ FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE
) ENGINE = InnoDB;