Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTortue Torche <tortuetorche@users.noreply.github.com>2019-12-10 17:22:53 +0300
committerTortue Torche <tortuetorche@users.noreply.github.com>2019-12-10 17:22:53 +0300
commitc344e17844e98b41ed769739c26151104bd76b65 (patch)
tree8c539f3edfbd3fa4252e2887f2f70accf14c0d9d /lib/Migration
parent341ff62f07ee7b4405ad2e6aae583d67f256263d (diff)
The 'show_results' column in the 'polls_events' table should be a boolean, not a string
Signed-off-by: Tortue Torche <tortuetorche@users.noreply.github.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r--lib/Migration/Version0010Date20190801063812.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Migration/Version0010Date20190801063812.php b/lib/Migration/Version0010Date20190801063812.php
index e90dc899..7c699b6e 100644
--- a/lib/Migration/Version0010Date20190801063812.php
+++ b/lib/Migration/Version0010Date20190801063812.php
@@ -86,9 +86,9 @@ class Version0010Date20190801063812 extends SimpleMigrationStep {
]);
}
if (!$table->hasColumn('show_results')) {
- $table->addColumn('show_results', Type::STRING, [
+ $table->addColumn('show_results', Type::BOOLEAN, [
'notnull' => true,
- 'lenght' => 64
+ 'default' => 0
]);
}