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
fc7d3d47
Commit
fc7d3d47
authored
11 years ago
by
Marcos García de La Fuente
Browse files
Options
Downloads
Patches
Plain Diff
Modified migration script to not remove columns
parent
55014b33
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/install/mysql/migration/3.5.0-3.6.0.sql
+12
-12
12 additions, 12 deletions
htdocs/install/mysql/migration/3.5.0-3.6.0.sql
with
12 additions
and
12 deletions
htdocs/install/mysql/migration/3.5.0-3.6.0.sql
+
12
−
12
View file @
fc7d3d47
...
...
@@ -18,15 +18,15 @@
-- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);
ALTER
TABLE
llx_bookmark
ADD
COLUMN
entity
integer
DEFAULT
1
NOT
NULL
;
ALTER
TABLE
`llx_opensurvey_sondage`
ADD
COLUMN
`allow_comments`
TINYINT
(
1
)
UNSIGNED
NOT
NULL
DEFAULT
1
AFTER
`canedit`
;
ALTER
TABLE
`llx_opensurvey_sondage`
DROP
COLUMN
`survey_link_visible`
;
ALTER
TABLE
`llx_opensurvey_sondage`
DROP
INDEX
`idx_id_sondage_admin`
;
ALTER
TABLE
`llx_opensurvey_sondage`
DROP
COLUMN
`id_sondage_admin`
;
ALTER
TABLE
`llx_opensurvey_sondage`
DROP
COLUMN
`canedit`
;
ALTER
TABLE
`llx_opensurvey_sondage`
ADD
COLUMN
`allow_spy`
TINYINT
(
1
)
UNSIGNED
NOT
NULL
AFTER
`allow_comments`
;
ALTER
TABLE
`llx_opensurvey_sondage`
DROP
COLUMN
`origin`
;
ALTER
TABLE
`llx_opensurvey_sondage`
ADD
COLUMN
`fk_user_creat`
INT
(
11
)
UNSIGNED
NOT
NULL
AFTER
`nom_admin`
;
ALTER
TABLE
`llx_opensurvey_sondage`
CHANGE
COLUMN
`mailsonde`
`mailsonde`
TINYINT
(
1
)
UNSIGNED
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
`llx_opensurvey_sondage`
CHANGE
COLUMN
`titre`
`titre`
TEXT
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
;
ALTER
TABLE
`llx_opensurvey_sondage`
CHANGE
COLUMN
`date_fin`
`date_fin`
DATETIME
NOT
NULL
;
ALTER
TABLE
`llx_opensurvey_sondage`
CHANGE
COLUMN
`format`
`format`
VARCHAR
(
2
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
;
\ No newline at end of file
ALTER
TABLE
llx_opensurvey_sondage
ADD
COLUMN
allow_comments
TINYINT
(
1
)
UNSIGNED
NOT
NULL
DEFAULT
1
AFTER
canedit
;
-- ALTER TABLE llx_opensurvey_sondage DROP COLUMN survey_link_visible ;
ALTER
TABLE
llx_opensurvey_sondage
DROP
INDEX
idx_id_sondage_admin
;
-- ALTER TABLE llx_opensurvey_sondage DROP COLUMN id_sondage_admin ;
-- ALTER TABLE llx_opensurvey_sondage DROP COLUMN canedit ;
ALTER
TABLE
llx_opensurvey_sondage
ADD
COLUMN
allow_spy
TINYINT
(
1
)
UNSIGNED
NOT
NULL
AFTER
allow_comments
;
-- ALTER TABLE llx_opensurvey_sondage DROP COLUMN origin ;
ALTER
TABLE
llx_opensurvey_sondage
ADD
COLUMN
fk_user_creat
INT
(
11
)
UNSIGNED
NOT
NULL
AFTER
nom_admin
;
ALTER
TABLE
llx_opensurvey_sondage
CHANGE
COLUMN
mailsonde
mailsonde
TINYINT
(
1
)
UNSIGNED
NOT
NULL
DEFAULT
'0'
;
ALTER
TABLE
llx_opensurvey_sondage
CHANGE
COLUMN
titre
titre
TEXT
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
;
ALTER
TABLE
llx_opensurvey_sondage
CHANGE
COLUMN
date_fin
date_fin
DATETIME
NOT
NULL
;
ALTER
TABLE
llx_opensurvey_sondage
CHANGE
COLUMN
format
format
VARCHAR
(
2
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NOT
NULL
;
\ No newline at end of file
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