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
2db3bcc7
Commit
2db3bcc7
authored
12 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: migration 3.3.0 to 3.4.0
parent
0ac7696b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/install/mysql/migration/3.3.0-3.4.0.sql
+1
-1
1 addition, 1 deletion
htdocs/install/mysql/migration/3.3.0-3.4.0.sql
with
1 addition
and
1 deletion
htdocs/install/mysql/migration/3.3.0-3.4.0.sql
+
1
−
1
View file @
2db3bcc7
...
...
@@ -56,6 +56,7 @@ ALTER TABLE llx_facture_fourn DROP INDEX uk_facture_fourn;
ALTER
TABLE
llx_facture_fourn
DROP
INDEX
uk_facture_fourn_ref
;
UPDATE
llx_facture_fourn
set
ref
=
NULL
where
ref
=
''
;
ALTER
TABLE
llx_facture_fourn
ADD
UNIQUE
INDEX
uk_facture_fourn_ref
(
ref
,
entity
);
ALTER
TABLE
llx_facture_fourn
CHANGE
COLUMN
facnumber
ref_supplier
varchar
(
30
);
ALTER
TABLE
llx_facture_fourn
ADD
UNIQUE
INDEX
uk_facture_fourn_ref_supplier
(
ref_supplier
,
fk_soc
,
entity
);
...
...
@@ -92,7 +93,6 @@ alter table llx_societe_rib CHANGE COLUMN adresse_proprio owner_address text;
alter
table
llx_societe_address
CHANGE
COLUMN
ville
town
text
;
alter
table
llx_societe_address
CHANGE
COLUMN
cp
zip
varchar
(
10
);
alter
table
llx_facture_fourn
CHANGE
COLUMN
facnumber
ref_supplier
varchar
(
30
);
-- remove constraint and index before rename field
ALTER
TABLE
llx_expedition
DROP
FOREIGN
KEY
fk_expedition_fk_expedition_methode
;
...
...
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