Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
c4948ea3
Commit
c4948ea3
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: It seems foreign key is not deleted sometimes. To be sure, we force
delete also at end.
parent
ae154ed9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/mysql/migration/3.2.0-3.3.0.sql
+2
-0
2 additions, 0 deletions
htdocs/install/mysql/migration/3.2.0-3.3.0.sql
htdocs/install/mysql/migration/repair.sql
+1
-1
1 addition, 1 deletion
htdocs/install/mysql/migration/repair.sql
with
3 additions
and
1 deletion
htdocs/install/mysql/migration/3.2.0-3.3.0.sql
+
2
−
0
View file @
c4948ea3
...
@@ -923,3 +923,5 @@ DELETE FROM llx_c_action_trigger WHERE elementtype='withdraw';
...
@@ -923,3 +923,5 @@ DELETE FROM llx_c_action_trigger WHERE elementtype='withdraw';
UPDATE
llx_c_action_trigger
SET
code
=
'FICHINTER_VALIDATE'
WHERE
code
=
'FICHEINTER_VALIDATE'
;
UPDATE
llx_c_action_trigger
SET
code
=
'FICHINTER_VALIDATE'
WHERE
code
=
'FICHEINTER_VALIDATE'
;
UPDATE
llx_c_departements
SET
ncc
=
'ALAVA'
,
nom
=
'Álava'
WHERE
code_departement
=
'01'
AND
fk_region
=
419
;
UPDATE
llx_c_departements
SET
ncc
=
'ALAVA'
,
nom
=
'Álava'
WHERE
code_departement
=
'01'
AND
fk_region
=
419
;
ALTER
TABLE
llx_product_fournisseur_price
DROP
FOREIGN
KEY
fk_product_fournisseur
;
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/migration/repair.sql
+
1
−
1
View file @
c4948ea3
...
@@ -92,4 +92,4 @@ UPDATE llx_product p SET p.stock= (SELECT SUM(ps.reel) FROM llx_product_stock ps
...
@@ -92,4 +92,4 @@ UPDATE llx_product p SET p.stock= (SELECT SUM(ps.reel) FROM llx_product_stock ps
-- DROP TABLE llx_expedition_methode;
-- DROP TABLE llx_expedition_methode;
-- DROP TABLE llx_product_fournisseur;
-- DROP TABLE llx_product_fournisseur;
-- ALTER TABLE llx_product_fournisseur_price DROP COLUMN fk_product_fournisseur;
-- ALTER TABLE llx_product_fournisseur_price DROP COLUMN fk_product_fournisseur;
ALTER
TABLE
llx_product_fournisseur_price
DROP
FOREIGN
KEY
fk_product_fournisseur
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment