This commit is contained in:
parent
e9870be76f
commit
aaf95e3cff
|
@ -1 +1,5 @@
|
||||||
ALTER TABLE vn.invoiceOut MODIFY COLUMN id int(10) unsigned auto_increment NOT NULL;
|
UPDATE vn.invoiceOut
|
||||||
|
SET id = (SELECT MAX(id) + 1 FROM vn.invoiceOut)
|
||||||
|
WHERE id = 0;
|
||||||
|
|
||||||
|
ALTER TABLE vn.invoiceOut MODIFY COLUMN id int(10) unsigned auto_increment NOT NULL;
|
||||||
|
|
Loading…
Reference in New Issue