From: Moritz Bunkus Date: Wed, 29 Nov 2006 08:35:59 +0000 (+0000) Subject: Einheiten duerfen 20 Zeichen lang sein. X-Git-Tag: release-2.4.0^2~152 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c5e31a521b8d224a70aef1ff1c35a28b73f0e226;p=kivitendo-erp.git Einheiten duerfen 20 Zeichen lang sein. --- diff --git a/sql/Pg-upgrade/Pg-upgrade-2.2.0.24-2.2.0.25.sql b/sql/Pg-upgrade/Pg-upgrade-2.2.0.24-2.2.0.25.sql new file mode 100644 index 000000000..daaebc366 --- /dev/null +++ b/sql/Pg-upgrade/Pg-upgrade-2.2.0.24-2.2.0.25.sql @@ -0,0 +1,4 @@ +ALTER TABLE rmaitems ADD COLUMN tmp varchar(20); +UPDATE rmaitems SET tmp = unit; +ALTER TABLE rmaitems DROP COLUMN unit; +ALTER TABLE rmaitems RENAME tmp TO unit;