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) {
|
private function alterPollTable(\PDO $pdo) {
|
||||||
$pdo->exec('
|
$pdo->exec('
|
||||||
ALTER TABLE `' . Utils::table('poll') . '`
|
ALTER TABLE `' . Utils::table('poll') . '`
|
||||||
ADD `ValueMax` TINYINT,
|
ADD `ValueMax` TINYINT NULL;');
|
||||||
ADD CHECK (ValueMax > 0)');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user