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
4ad54131
Commit
4ad54131
authored
11 years ago
by
Raphaël Doursenaud
Browse files
Options
Downloads
Patches
Plain Diff
Sync db upgrade with db install to avoid silly upgrade errors
parent
0dfbfbc1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/install/mysql/migration/3.3.0-3.4.0.sql
+17
-17
17 additions, 17 deletions
htdocs/install/mysql/migration/3.3.0-3.4.0.sql
with
17 additions
and
17 deletions
htdocs/install/mysql/migration/3.3.0-3.4.0.sql
+
17
−
17
View file @
4ad54131
...
...
@@ -58,7 +58,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
(
3
0
);
ALTER
TABLE
llx_facture_fourn
CHANGE
COLUMN
facnumber
ref_supplier
varchar
(
5
0
);
ALTER
TABLE
llx_facture_fourn
ADD
UNIQUE
INDEX
uk_facture_fourn_ref_supplier
(
ref_supplier
,
fk_soc
,
entity
);
...
...
@@ -161,22 +161,22 @@ CREATE TABLE llx_c_revenuestamp
insert
into
llx_c_revenuestamp
(
rowid
,
fk_pays
,
taux
,
note
,
active
)
values
(
101
,
10
,
'0.4'
,
'Timbre fiscal'
,
1
);
ALTER
TABLE
llx_c_tva
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_c_tva
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_commande_fournisseurdet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_commande_fournisseurdet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_commandedet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_commandedet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_contratdet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_contratdet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_facture_fourn_det
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_facture_fourn_det
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_facturedet_rec
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_facturedet_rec
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_facturedet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_facturedet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_propaldet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_propaldet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_c_tva
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_c_tva
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_commande_fournisseurdet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_commande_fournisseurdet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_commandedet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_commandedet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_contratdet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_contratdet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_facture_fourn_det
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_facture_fourn_det
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_facturedet_rec
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_facturedet_rec
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_facturedet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_facturedet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_propaldet
MODIFY
COLUMN
localtax1_type
varchar
(
10
)
DEFAULT
NULL
;
ALTER
TABLE
llx_propaldet
MODIFY
COLUMN
localtax2_type
varchar
(
10
)
DEFAULT
NULL
;
-- No more use type 7, use revenuse stamp instead
UPDATE
llx_c_tva
set
localtax1
=
0
,
localtax1_type
=
'0'
where
localtax1_type
=
'7'
;
UPDATE
llx_c_tva
set
localtax2
=
0
,
localtax2_type
=
'0'
where
localtax2_type
=
'7'
;
...
...
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