Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
legi
soft
gestex
Commits
bdce8c68
Commit
bdce8c68
authored
Jul 15, 2021
by
Gabriel Moreau
Browse files
Capital letter first -> Listing
parent
477b131c
Changes
1
Hide whitespace changes
Inline
Side-by-side
db-upgrade-4-5.sql
View file @
bdce8c68
...
...
@@ -7,9 +7,9 @@
-- ALTER TABLE
--
ALTER
TABLE
`
l
isting`
MODIFY
COLUMN
`barcode`
BIGINT
DEFAULT
NULL
;
ALTER
TABLE
`
l
isting`
ADD
COLUMN
`max_day`
INT
(
11
)
NOT
NULL
DEFAULT
0
;
UPDATE
`
l
isting`
SET
`max_day`
=
0
;
ALTER
TABLE
`
L
isting`
MODIFY
COLUMN
`barcode`
BIGINT
DEFAULT
NULL
;
ALTER
TABLE
`
L
isting`
ADD
COLUMN
`max_day`
INT
(
11
)
NOT
NULL
DEFAULT
0
;
UPDATE
`
L
isting`
SET
`max_day`
=
0
;
-- TIMESTAMP =< MySQL 5.5.x < DATETIME
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment