Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
latoilescoute-dev
scoodle
Commits
4e021c2b
Commit
4e021c2b
authored
Mar 21, 2018
by
Thomas Citharel
Browse files
Remove the check on Valuemax
Signed-off-by:
Thomas Citharel
<
tcit@tcit.fr
>
parent
129dcba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/classes/Framadate/Migration/AddColumn_ValueMax_In_poll_For_1_1.php
View file @
4e021c2b
...
...
@@ -65,7 +65,6 @@ class AddColumn_ValueMax_In_poll_For_1_1 implements Migration {
private
function
alterPollTable
(
\
PDO
$pdo
)
{
$pdo
->
exec
(
'
ALTER TABLE `'
.
Utils
::
table
(
'poll'
)
.
'`
ADD `ValueMax` TINYINT,
ADD CHECK (ValueMax > 0)'
);
ADD `ValueMax` TINYINT NULL;'
);
}
}
Write
Preview
Markdown
is supported
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