summaryrefslogtreecommitdiffstats
path: root/schema/aur-schema.sql
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-20 12:47:23 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-20 14:29:43 +0200
commit61cdf09cd0581940639d0a6ebf09788f61b93eb9 (patch)
tree39745cf03579b8c2785f05d2ee69b0aade233e6c /schema/aur-schema.sql
parent5d9a80a546265d7c746b236a186a142bc3ecc35e (diff)
downloadaur-61cdf09cd0581940639d0a6ebf09788f61b93eb9.tar.gz
aur-61cdf09cd0581940639d0a6ebf09788f61b93eb9.tar.xz
Make url and pkgdesc fields optional
The url and pkgdesc PKGBUILD variables are optional, so they should be in the AUR as well. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'schema/aur-schema.sql')
-rw-r--r--schema/aur-schema.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/schema/aur-schema.sql b/schema/aur-schema.sql
index 5a702b2b..5a2e5c51 100644
--- a/schema/aur-schema.sql
+++ b/schema/aur-schema.sql
@@ -107,8 +107,8 @@ CREATE TABLE Packages (
PackageBaseID INTEGER UNSIGNED NOT NULL,
Name VARCHAR(255) NOT NULL,
Version VARCHAR(255) NOT NULL DEFAULT '',
- Description VARCHAR(255) NOT NULL DEFAULT "An Arch Package",
- URL VARCHAR(255) NOT NULL DEFAULT "https://www.archlinux.org",
+ Description VARCHAR(255) NULL DEFAULT NULL,
+ URL VARCHAR(255) NULL DEFAULT NULL,
PRIMARY KEY (ID),
UNIQUE (Name),
FOREIGN KEY (PackageBaseID) REFERENCES PackageBases(ID) ON DELETE CASCADE