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
bb2dc59c
Commit
bb2dc59c
authored
7 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
More complete request to clean
parent
fd895350
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/repair.sql
+1
-1
1 addition, 1 deletion
htdocs/install/mysql/migration/repair.sql
with
1 addition
and
1 deletion
htdocs/install/mysql/migration/repair.sql
+
1
−
1
View file @
bb2dc59c
...
...
@@ -330,7 +330,7 @@ drop table tmp_c_shipment_mode;
-- Restore id of user on link for payment of expense report
drop
table
tmp_bank_url_expense_user
;
create
table
tmp_bank_url_expense_user
(
select
e
.
fk_user_author
,
bu2
.
fk_bank
from
llx_expensereport
as
e
,
llx_bank_url
as
bu2
where
bu2
.
url_id
=
e
.
rowid
and
bu2
.
type
=
'payment_expensereport'
);
update
llx_bank_url
as
bu
set
url_id
=
(
select
e
.
fk_user_author
from
tmp_bank_url_expense_user
as
e
where
e
.
fk_bank
=
bu
.
fk_bank
)
where
bu
.
url_id
=
0
and
bu
.
type
=
'user'
;
update
llx_bank_url
as
bu
set
url_id
=
(
select
e
.
fk_user_author
from
tmp_bank_url_expense_user
as
e
where
e
.
fk_bank
=
bu
.
fk_bank
)
where
(
bu
.
url_id
=
0
OR
bu
.
url_id
IS
NULL
)
and
bu
.
type
=
'user'
;
drop
table
tmp_bank_url_expense_user
;
...
...
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