Einheiten duerfen 20 Zeichen lang sein.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 29 Nov 2006 08:35:59 +0000 (08:35 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 29 Nov 2006 08:35:59 +0000 (08:35 +0000)
sql/Pg-upgrade/Pg-upgrade-2.2.0.24-2.2.0.25.sql [new file with mode: 0644]

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 (file)
index 0000000..daaebc3
--- /dev/null
@@ -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;