X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/54e4131e091831e00a861fe2c4f53e344b87ddca..fef43fa:/sql/Pg-upgrade/Pg-upgrade-2.2.0.15-2.2.0.16.sql

diff --git a/sql/Pg-upgrade/Pg-upgrade-2.2.0.15-2.2.0.16.sql b/sql/Pg-upgrade/Pg-upgrade-2.2.0.15-2.2.0.16.sql
index 5494886ce..296976900 100644
--- a/sql/Pg-upgrade/Pg-upgrade-2.2.0.15-2.2.0.16.sql
+++ b/sql/Pg-upgrade/Pg-upgrade-2.2.0.15-2.2.0.16.sql
@@ -6,9 +6,9 @@ CREATE TABLE "adr" (
 
 ALTER TABLE parts add column adr_id integer;
 
-alter table shipto add column id integer;
-alter table shipto alter column id set default nextval('id'::text);
-update shipto set id=nextval('id'::text);
+alter table shipto add column shipto_id integer;
+alter table shipto alter column shipto_id set default nextval('id'::text);
+update shipto set shipto_id=nextval('id'::text);
 
 alter table oe add column shipto_id integer;
-alter table ar add column shipto_id integer;
\ No newline at end of file
+alter table ar add column shipto_id integer;
