From: Moritz Bunkus Date: Tue, 11 Apr 2006 14:06:44 +0000 (+0000) Subject: Die Sequenz "orderitemsid" sollte nicht zu frueh zu ende gehen. X-Git-Tag: release-2.4.0^2~280 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f772018b9e88abb60a63bdc680ef086a45c792ff;p=kivitendo-erp.git Die Sequenz "orderitemsid" sollte nicht zu frueh zu ende gehen. --- diff --git a/sql/Pg-upgrade/Pg-upgrade-2.2.0.1-2.2.0.2.sql b/sql/Pg-upgrade/Pg-upgrade-2.2.0.1-2.2.0.2.sql new file mode 100644 index 000000000..19037f6b0 --- /dev/null +++ b/sql/Pg-upgrade/Pg-upgrade-2.2.0.1-2.2.0.2.sql @@ -0,0 +1 @@ +ALTER SEQUENCE orderitemsid MAXVALUE 9223372036854775807; diff --git a/sql/lx-office.sql b/sql/lx-office.sql index ffcf8ca36..3e0befb75 100644 --- a/sql/lx-office.sql +++ b/sql/lx-office.sql @@ -488,7 +488,7 @@ CREATE TABLE "status" ( CREATE SEQUENCE "invoiceid" start 1 increment 1 maxvalue 9223372036854775807 minvalue 1 cache 1; -CREATE SEQUENCE "orderitemsid" start 1 increment 1 maxvalue 100000 minvalue 1 cache 1 cycle; +CREATE SEQUENCE "orderitemsid" start 1 increment 1 maxvalue 9223372036854775807 minvalue 1 cache 1 cycle; CREATE TABLE "warehouse" ( "id" integer DEFAULT nextval('id'::text) PRIMARY KEY,