Remove the check on Valuemax
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
129dcba693
commit
4e021c2bc3
@ -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;');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user