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
e3b38cf3
Commit
e3b38cf3
authored
11 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: SQL Syntax error.
Fix: A ref_ext can not be NOT NULL. New: Add tms field into table llx_bordereau_cheque.
parent
09fd904e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/mysql/migration/3.4.0-3.5.0.sql
+4
-2
4 additions, 2 deletions
htdocs/install/mysql/migration/3.4.0-3.5.0.sql
htdocs/install/mysql/tables/llx_bordereau_cheque.sql
+6
-6
6 additions, 6 deletions
htdocs/install/mysql/tables/llx_bordereau_cheque.sql
with
10 additions
and
8 deletions
htdocs/install/mysql/migration/3.4.0-3.5.0.sql
+
4
−
2
View file @
e3b38cf3
...
...
@@ -276,5 +276,7 @@ INSERT INTO llx_c_departements ( code_departement, fk_region, cheflieu, tncc, nc
INSERT
INTO
llx_c_departements
(
code_departement
,
fk_region
,
cheflieu
,
tncc
,
ncc
,
nom
,
active
)
VALUES
(
'TN23'
,
1001
,
''
,
0
,
''
,
'Tunis'
,
1
);
INSERT
INTO
llx_c_departements
(
code_departement
,
fk_region
,
cheflieu
,
tncc
,
ncc
,
nom
,
active
)
VALUES
(
'TN24'
,
1001
,
''
,
0
,
''
,
'Zaghouan'
,
1
);
#
Add
ref_ext
on
bordereau_cheque
ALTER
TABLE
`llx_bordereau_cheque`
ADD
`ref_ext`
VARCHAR
(
255
)
NOT
NULL
;
-- Add ref_ext on bordereau_cheque
ALTER
TABLE
llx_bordereau_cheque
ADD
ref_ext
VARCHAR
(
255
);
ALTER
TABLE
llx_bordereau_cheque
ADD
tms
timestamp
;
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/tables/llx_bordereau_cheque.sql
+
6
−
6
View file @
e3b38cf3
...
...
@@ -24,16 +24,16 @@
create
table
llx_bordereau_cheque
(
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
number
varchar
(
16
)
NOT
NULL
,
-- ref
ref_ext
varchar
(
255
),
-- ref_ext
datec
datetime
NOT
NULL
,
date_bordereau
date
,
-- A quoi sert cette date ?
number
varchar
(
16
)
NOT
NULL
,
entity
integer
DEFAULT
1
NOT
NULL
,
-- multi company id
date_bordereau
date
,
-- A quoi sert cette date ?
amount
double
(
24
,
8
)
NOT
NULL
,
nbcheque
smallint
NOT
NULL
,
fk_bank_account
integer
,
fk_user_author
integer
,
note
text
,
statut
smallint
NOT
NULL
DEFAULT
0
,
ref_ext
varchar
(
255
)
tms
timestamp
,
note
text
,
entity
integer
DEFAULT
1
NOT
NULL
-- multi company id
)
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