diff --git a/db/db.sql b/db/db.sql index 2cb5415f5..781196b4b 100644 --- a/db/db.sql +++ b/db/db.sql @@ -1382,7 +1382,7 @@ ALTER TABLE promocodes ADD UNIQUE INDEX code (code) ; CREATE TABLE custacc ( - ca_id int(11) NOT NULL AUTO_INCREMENT, + ca_id bigint(20) NOT NULL AUTO_INCREMENT, customer_id int(11) NOT NULL, document_id int(11) DEFAULT NULL, optype int(11) DEFAULT NULL, diff --git a/db/update/update6100to6110.sql b/db/update/update6100to6110.sql index 4cd4e8c2f..29a620f37 100644 --- a/db/update/update6100to6110.sql +++ b/db/update/update6100to6110.sql @@ -92,7 +92,7 @@ FROM ((store_stock st CREATE TABLE custacc ( - ca_id int(11) NOT NULL AUTO_INCREMENT, + ca_id bigint(20) NOT NULL AUTO_INCREMENT, customer_id int(11) NOT NULL, document_id int(11) DEFAULT NULL, optype int(11) DEFAULT NULL,