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
a2399405
Commit
a2399405
authored
9 years ago
by
aspangaro
Browse files
Options
Downloads
Patches
Plain Diff
Add field and table in database & migration script
parent
c56c228c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/mysql/migration/3.7.0-3.8.0.sql
+16
-0
16 additions, 0 deletions
htdocs/install/mysql/migration/3.7.0-3.8.0.sql
htdocs/install/mysql/tables/llx_payment_expensereport.sql
+33
-0
33 additions, 0 deletions
htdocs/install/mysql/tables/llx_payment_expensereport.sql
with
49 additions
and
0 deletions
htdocs/install/mysql/migration/3.7.0-3.8.0.sql
+
16
−
0
View file @
a2399405
...
...
@@ -285,6 +285,22 @@ CREATE TABLE llx_expensereport_det
ALTER
TABLE
llx_expensereport_det
MODIFY
COLUMN
fk_projet
integer
NULL
;
ALTER
TABLE
llx_expensereport_det
MODIFY
COLUMN
fk_c_tva
integer
NULL
;
create
table
llx_payment_expensereport
(
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
fk_expensereport
integer
,
datec
datetime
,
-- date de creation
tms
timestamp
,
datep
datetime
,
-- payment date
amount
real
DEFAULT
0
,
fk_typepayment
integer
NOT
NULL
,
num_payment
varchar
(
50
),
note
text
,
fk_bank
integer
NOT
NULL
,
fk_user_creat
integer
,
-- creation user
fk_user_modif
integer
-- last modification user
)
ENGINE
=
innodb
;
ALTER
TABLE
llx_projet
ADD
COLUMN
budget_amount
double
(
24
,
8
);
...
...
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/tables/llx_payment_expensereport.sql
0 → 100644
+
33
−
0
View file @
a2399405
-- ===================================================================
-- Copyright (C) 2015 Alexandre Spangaro <alexandre.spangaro@gmail.com>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- ===================================================================
create
table
llx_payment_expensereport
(
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
fk_expensereport
integer
,
datec
datetime
,
-- date de creation
tms
timestamp
,
datep
datetime
,
-- payment date
amount
real
DEFAULT
0
,
fk_typepayment
integer
NOT
NULL
,
num_payment
varchar
(
50
),
note
text
,
fk_bank
integer
NOT
NULL
,
fk_user_creat
integer
,
-- creation user
fk_user_modif
integer
-- last modification user
)
ENGINE
=
innodb
;
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