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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-08 11:34:50 +0300
committerJoas Schilling <coding@schilljs.com>2020-09-08 11:34:50 +0300
commit8fc0e83106528fb1de0609a8468d64df3daad9d7 (patch)
tree99e9fbdd8ee5e26f3dfc95e9abfce0dae1d98bc8 /lib/Migration
parent8313c42e464f2af1c7c205f4a6d6d7709a383488 (diff)
Add a default on NotNull column
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Migration')
-rw-r--r--lib/Migration/Version2001Date20180103144447.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Migration/Version2001Date20180103144447.php b/lib/Migration/Version2001Date20180103144447.php
index 0af9e898b..fc2d6206a 100644
--- a/lib/Migration/Version2001Date20180103144447.php
+++ b/lib/Migration/Version2001Date20180103144447.php
@@ -94,7 +94,7 @@ class Version2001Date20180103144447 extends SimpleMigrationStep {
$table->addColumn('session_id', Type::STRING, [
'notnull' => true,
'length' => 255,
- 'default' => '',
+ 'default' => '0',
]);
$table->addColumn('participant_type', Type::SMALLINT, [
'notnull' => true,