diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-05 08:50:52 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-05 15:12:10 +0200 |
commit | 7a5bfd83c4baec41bf8aa9015ef46eca5d629716 (patch) | |
tree | 7ebd8caa2d84aac41e8f62a048c9d646112829c2 /UPGRADING | |
parent | 9b5271d737afb8501817db4c4f0dc25b34d8c538 (diff) | |
download | aur-7a5bfd83c4baec41bf8aa9015ef46eca5d629716.tar.gz aur-7a5bfd83c4baec41bf8aa9015ef46eca5d629716.tar.xz |
Increase the size of several database fields
Several fields turned out to be too small (e.g. when long package
versions are used in VCS packages). Since the type of all affected
fields is VARCHAR, there is no reason to keep them as small as possible.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1,6 +1,23 @@ Upgrading ========= +From 3.0.0 to 3.1.0 +------------------- + +1. Increase the size of all fields containing package names, license names, +group names or package versions: + +---- +ALTER TABLE PackageBases MODIFY Name VARCHAR(255) NOT NULL; +ALTER TABLE Packages + MODIFY Name VARCHAR(255) NOT NULL, + MODIFY Version VARCHAR(255) NOT NULL DEFAULT ''; +ALTER TABLE Licenses MODIFY Name VARCHAR(255) NOT NULL; +ALTER TABLE Groups MODIFY Name VARCHAR(255) NOT NULL; +ALTER TABLE PackageDepends MODIFY DepCondition VARCHAR(255); +ALTER TABLE PackageRelations MODIFY RelCondition VARCHAR(255); +---- + From 2.3.1 to 3.0.0 ------------------- |