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
5871d59d
Commit
5871d59d
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix error "Invalid default value for 'date_price'"
parent
f7e71d1d
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/4.0.0-5.0.0.sql
+4
-0
4 additions, 0 deletions
htdocs/install/mysql/migration/4.0.0-5.0.0.sql
with
4 additions
and
0 deletions
htdocs/install/mysql/migration/4.0.0-5.0.0.sql
+
4
−
0
View file @
5871d59d
...
...
@@ -254,6 +254,10 @@ ALTER TABLE llx_contrat ADD COLUMN fk_user_modif integer;
update
llx_accounting_account
set
account_parent
=
0
where
account_parent
=
''
;
-- VMYSQL4.3 ALTER TABLE llx_product_price MODIFY COLUMN date_price DATETIME NULL;
-- VPGSQL8.2 ALTER TABLE llx_product_price ALTER COLUMN date_price DROP NOT NULL;
ALTER
TABLE
llx_product_price
ALTER
COLUMN
date_price
SET
DEFAULT
NULL
;
ALTER
TABLE
llx_product_price
ADD
COLUMN
default_vat_code
varchar
(
10
)
after
tva_tx
;
ALTER
TABLE
llx_product_fournisseur_price
ADD
COLUMN
default_vat_code
varchar
(
10
)
after
tva_tx
;
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