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
0f848aab
Commit
0f848aab
authored
13 years ago
by
Philippe Grand
Browse files
Options
Downloads
Patches
Plain Diff
prepair get order sources from dictionnary
parent
2bea3ee5
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/3.0.0-3.1.0.sql
+17
-0
17 additions, 0 deletions
htdocs/install/mysql/migration/3.0.0-3.1.0.sql
with
17 additions
and
0 deletions
htdocs/install/mysql/migration/3.0.0-3.1.0.sql
+
17
−
0
View file @
0f848aab
...
...
@@ -57,6 +57,15 @@ CREATE TABLE llx_c_availability
)
ENGINE
=
innodb
;
CREATE
TABLE
llx_c_source
(
rowid
integer
AUTO_INCREMENT
PRIMARY
KEY
,
code
varchar
(
30
)
NOT
NULL
,
label
varchar
(
60
)
NOT
NULL
,
active
tinyint
DEFAULT
1
NOT
NULL
)
ENGINE
=
innodb
;
ALTER
TABLE
llx_propal
CHANGE
COLUMN
delivery
fk_availability
integer
NULL
;
ALTER
TABLE
llx_propal
ADD
COLUMN
fk_availability
integer
NULL
AFTER
fk_adresse_livraison
;
ALTER
TABLE
llx_commande
ADD
COLUMN
fk_availability
integer
NULL
;
...
...
@@ -66,6 +75,14 @@ INSERT INTO llx_c_availability (rowid,code,label,active) VALUES (2, 'AV_1W', '1
INSERT
INTO
llx_c_availability
(
rowid
,
code
,
label
,
active
)
VALUES
(
3
,
'AV_2W'
,
'2 weeks'
,
1
);
INSERT
INTO
llx_c_availability
(
rowid
,
code
,
label
,
active
)
VALUES
(
4
,
'AV_3W'
,
'3 weeks'
,
1
);
INSERT
INTO
llx_c_source
(
rowid
,
code
,
label
,
active
)
VALUES
(
1
,
'SRC_00'
,
'Proposition commerciale'
,
1
);
INSERT
INTO
llx_c_source
(
rowid
,
code
,
label
,
active
)
VALUES
(
2
,
'SRC_01'
,
'Internet'
,
1
);
INSERT
INTO
llx_c_source
(
rowid
,
code
,
label
,
active
)
VALUES
(
3
,
'SRC_02'
,
'Campagne courrier'
,
1
);
INSERT
INTO
llx_c_source
(
rowid
,
code
,
label
,
active
)
VALUES
(
4
,
'SRC_03'
,
'Campagne téléphone'
,
1
);
INSERT
INTO
llx_c_source
(
rowid
,
code
,
label
,
active
)
VALUES
(
5
,
'SRC_04'
,
'Campagne fax'
,
1
);
INSERT
INTO
llx_c_source
(
rowid
,
code
,
label
,
active
)
VALUES
(
6
,
'SRC_05'
,
'Commercial'
,
1
);
INSERT
INTO
llx_c_source
(
rowid
,
code
,
label
,
active
)
VALUES
(
7
,
'SRC_06'
,
'Magasin'
,
1
);
ALTER
TABLE
llx_actioncomm
ADD
COLUMN
entity
integer
DEFAULT
1
NOT
NULL
AFTER
id
;
--Add Chile data
...
...
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