mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Fix: A fix to have new version of code able to run old migrate process
This commit is contained in:
@@ -1180,3 +1180,5 @@ UPDATE llx_product SET price_ttc = 0 WHERE price_ttc is NULL;
|
||||
|
||||
-- Not used. Just to be compatible with upgrade process of higher versions
|
||||
alter table llx_const add column entity integer DEFAULT 1 NOT NULL;
|
||||
-- Not used. Just to be compatible with 2.7 upgrade process or higher
|
||||
alter table llx_menu add column enabled varchar(255) NULL default '1';
|
||||
|
||||
@@ -348,4 +348,6 @@ ALTER TABLE llx_surveys_answers_summary TYPE=INNODB;
|
||||
|
||||
-- Not used. Just to be compatible with upgrade process of higher versions
|
||||
alter table llx_const add column entity integer DEFAULT 1 NOT NULL;
|
||||
-- Not used. Just to be compatible with 2.7 upgrade process or higher
|
||||
alter table llx_menu add column enabled varchar(255) NULL default '1';
|
||||
|
||||
|
||||
@@ -113,3 +113,5 @@ INSERT INTO llx_expedition_methode (rowid,code,libelle,description,active) VALUE
|
||||
|
||||
-- Not used. Just to be compatible with upgrade process of higher versions
|
||||
alter table llx_const add column entity integer DEFAULT 1 NOT NULL;
|
||||
-- Not used. Just to be compatible with 2.7 upgrade process or higher
|
||||
alter table llx_menu add column enabled varchar(255) NULL default '1';
|
||||
|
||||
@@ -134,4 +134,8 @@ ALTER TABLE llx_usergroup DROP INDEX nom;
|
||||
|
||||
ALTER TABLE llx_const ADD UNIQUE INDEX uk_const (name, entity);
|
||||
ALTER TABLE llx_user ADD UNIQUE INDEX uk_user_login (login, entity);
|
||||
ALTER TABLE llx_usergroup ADD UNIQUE INDEX uk_usergroup_name (nom, entity);
|
||||
ALTER TABLE llx_usergroup ADD UNIQUE INDEX uk_usergroup_name (nom, entity);
|
||||
|
||||
|
||||
-- Not used. Just to be compatible with 2.7 upgrade process or higher
|
||||
alter table llx_menu add column enabled varchar(255) NULL default '1';
|
||||
|
||||
@@ -472,3 +472,7 @@ ALTER TABLE llx_propaldet ADD CONSTRAINT fk_propaldet_fk_propal FOREIGN KEY (fk_
|
||||
ALTER TABLE llx_bank_class DROP INDEX idx_bank_class_lineid;
|
||||
ALTER TABLE llx_bank_class DROP INDEX uk_bank_class_lineid;
|
||||
ALTER TABLE llx_bank_class ADD UNIQUE INDEX uk_bank_class_lineid (lineid, fk_categ);
|
||||
|
||||
|
||||
-- Not used. Just to be compatible with 2.7 upgrade process or higher
|
||||
alter table llx_menu add column enabled varchar(255) NULL default '1';
|
||||
|
||||
Reference in New Issue
Block a user