summaryrefslogtreecommitdiffstats
path: root/schema
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-10-10 12:27:13 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-10-10 12:29:18 +0200
commita1bee1a21e3ac4ee475332bfda63fa502ba51694 (patch)
treed4ec48c8e17fc20232e4a78a2c3794377db9977b /schema
parent725a4778dbe51873e1ab1219339397ad50d78e61 (diff)
downloadaur-a1bee1a21e3ac4ee475332bfda63fa502ba51694.tar.gz
aur-a1bee1a21e3ac4ee475332bfda63fa502ba51694.tar.xz
Add support for architecture-specific sources
As a follow-up to 4d7da95 (Add support for architecture-specific fields, 2014-08-10), handle architecture-specific source fields as well. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'schema')
-rw-r--r--schema/aur-schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/schema/aur-schema.sql b/schema/aur-schema.sql
index 149695cb..08f87d81 100644
--- a/schema/aur-schema.sql
+++ b/schema/aur-schema.sql
@@ -238,6 +238,7 @@ CREATE TABLE PackageRelations (
CREATE TABLE PackageSources (
PackageID INTEGER UNSIGNED NOT NULL,
Source VARCHAR(255) NOT NULL DEFAULT "/dev/null",
+ SourceArch VARCHAR(255) NULL DEFAULT NULL,
INDEX (PackageID),
FOREIGN KEY (PackageID) REFERENCES Packages(ID) ON DELETE CASCADE
) ENGINE = InnoDB;