Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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;');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment