Commit 4e021c2b authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Remove the check on Valuemax


Signed-off-by: default avatarThomas Citharel <tcit@tcit.fr>
parent 129dcba6
...@@ -65,7 +65,6 @@ class AddColumn_ValueMax_In_poll_For_1_1 implements Migration { ...@@ -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)');
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment