mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Merge pull request #22252 from hregis/fix_some_upgrade_sql_errors
FIX some upgrade sql errors
This commit is contained in:
commit
daa1d38d3f
|
|
@ -689,3 +689,6 @@ ALTER TABLE llx_cronjob ADD UNIQUE INDEX uk_cronjob (label, entity);
|
|||
ALTER TABLE llx_expedition ADD COLUMN billed smallint DEFAULT 0;
|
||||
|
||||
ALTER TABLE llx_loan_schedule ADD UNIQUE INDEX uk_loan_schedule_ref (fk_loan, datep);
|
||||
|
||||
-- We need when upgrade 15 to 16 with Dolibarr v17+ for upgrade2 function migrate_user_photospath2()
|
||||
ALTER TABLE llx_user CHANGE COLUMN note note_private text;
|
||||
|
|
|
|||
|
|
@ -175,5 +175,5 @@ create table llx_element_categorie
|
|||
|
||||
ALTER TABLE llx_element_categorie ADD UNIQUE INDEX idx_element_categorie_idx (fk_element, fk_categorie);
|
||||
|
||||
ALTER TABLE llx_element_categorie ADD CONSTRAINT fk_element_categorie_fk_categorie FOREIGN KEY (fk_categorie) REFERENCES llx_fk_categorie(rowid);
|
||||
ALTER TABLE llx_element_categorie ADD CONSTRAINT fk_element_categorie_fk_categorie FOREIGN KEY (fk_categorie) REFERENCES llx_categorie(rowid);
|
||||
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@
|
|||
|
||||
ALTER TABLE llx_element_categorie ADD UNIQUE INDEX idx_element_categorie_idx (fk_element, fk_categorie);
|
||||
|
||||
ALTER TABLE llx_element_categorie ADD CONSTRAINT fk_element_categorie_fk_categorie FOREIGN KEY (fk_categorie) REFERENCES llx_fk_categorie(rowid);
|
||||
ALTER TABLE llx_element_categorie ADD CONSTRAINT fk_element_categorie_fk_categorie FOREIGN KEY (fk_categorie) REFERENCES llx_categorie(rowid);
|
||||
|
|
|
|||
|
|
@ -75,8 +75,8 @@ create table llx_user
|
|||
idpers2 varchar(128),
|
||||
idpers3 varchar(128),
|
||||
|
||||
note_public text,
|
||||
note_private text DEFAULT NULL,
|
||||
note_public text,
|
||||
note_private text DEFAULT NULL,
|
||||
model_pdf varchar(255) DEFAULT NULL,
|
||||
datelastlogin datetime,
|
||||
datepreviouslogin datetime,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user