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
7f6679b4
Commit
7f6679b4
authored
20 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: Pb des -- dans un sql, sous mysql.
parent
fa5a7796
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mysql/migration/1.1.0-1.2.0-RC1.sql
+16
-13
16 additions, 13 deletions
mysql/migration/1.1.0-1.2.0-RC1.sql
with
16 additions
and
13 deletions
mysql/migration/1.1.0-1.2.0-RC1.sql
+
16
−
13
View file @
7f6679b4
...
@@ -5,6 +5,8 @@
...
@@ -5,6 +5,8 @@
-- sans AUCUNE erreur ni warning
-- sans AUCUNE erreur ni warning
-- ;
-- ;
create
table
llx_usergroup_rights
create
table
llx_usergroup_rights
(
(
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
...
@@ -239,17 +241,17 @@ create table llx_prelevement_facture_demande
...
@@ -239,17 +241,17 @@ create table llx_prelevement_facture_demande
create
table
llx_prelevement_bons
create
table
llx_prelevement_bons
(
(
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
ref
varchar
(
12
),
-- reference
ref
varchar
(
12
),
datec
datetime
,
-- date de creation
datec
datetime
,
amount
real
DEFAULT
0
,
-- montant total du prlvement
amount
real
DEFAULT
0
,
statut
smallint
DEFAULT
0
,
-- statut
statut
smallint
DEFAULT
0
,
credite
smallint
DEFAULT
0
,
-- indique si le prelevement a t credit
credite
smallint
DEFAULT
0
,
note
text
,
note
text
,
date_trans
datetime
,
-- date de transmission la banque
date_trans
datetime
,
method_trans
smallint
,
-- mthode de transmission
method_trans
smallint
,
fk_user_trans
integer
,
-- user qui a effectu la transmission
fk_user_trans
integer
,
date_credit
datetime
,
-- date de crdit sur le compte
date_credit
datetime
,
fk_user_credit
integer
,
-- user qui a remont l'info de crdit
fk_user_credit
integer
,
UNIQUE
(
ref
)
UNIQUE
(
ref
)
)
type
=
innodb
;
)
type
=
innodb
;
...
@@ -846,11 +848,12 @@ create table llx_c_departements
...
@@ -846,11 +848,12 @@ create table llx_c_departements
tncc
integer
,
tncc
integer
,
ncc
varchar
(
50
),
ncc
varchar
(
50
),
nom
varchar
(
50
),
nom
varchar
(
50
),
active
tinyint
default
1
NOT
NULL
,
active
tinyint
default
1
NOT
NULL
key
(
fk_region
)
)
type
=
innodb
;
)
type
=
innodb
;
ALTER
TABLE
llx_c_departements
ADD
UNIQUE
uk_departements
(
code_departement
,
fk_region
);
ALTER
TABLE
llx_c_departements
ADD
INDEX
idx_departements_fk_region
(
fk_region
);
delete
from
llx_c_departements
;
delete
from
llx_c_departements
;
insert
into
llx_c_departements
(
rowid
,
fk_region
,
code_departement
,
cheflieu
,
tncc
,
ncc
,
nom
)
values
(
0
,
0
,
'0'
,
'0'
,
0
,
'-'
,
'-'
);
insert
into
llx_c_departements
(
rowid
,
fk_region
,
code_departement
,
cheflieu
,
tncc
,
ncc
,
nom
)
values
(
0
,
0
,
'0'
,
'0'
,
0
,
'-'
,
'-'
);
...
...
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