Fix missing primary key
This commit is contained in:
parent
e2c7585ae7
commit
0c4bf2340f
2 changed files with 10 additions and 0 deletions
|
|
@ -697,3 +697,6 @@ create table llx_facture_rec_extrafields
|
|||
|
||||
|
||||
ALTER TABLE llx_facture_rec_extrafields ADD INDEX idx_facture_rec_extrafields (fk_object);
|
||||
|
||||
-- VMYSQL4.1 ALTER TABLE llx_product_association ADD COLUMN rowid integer AUTO_INCREMENT PRIMARY KEY;
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,13 @@
|
|||
-- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);
|
||||
|
||||
|
||||
|
||||
-- Forgot in 7.0
|
||||
|
||||
-- VMYSQL4.1 ALTER TABLE llx_product_association ADD COLUMN rowid integer AUTO_INCREMENT PRIMARY KEY;
|
||||
|
||||
|
||||
|
||||
-- For 8.0
|
||||
|
||||
ALTER TABLE llx_product_fournisseur_price DROP COLUMN unitcharges;
|
||||
|
|
|
|||
Loading…
Reference in a new issue