aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version14000Date20180710092004.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-09 10:38:47 +0100
committerJoas Schilling <coding@schilljs.com>2020-11-10 15:35:16 +0100
commitecbb066dec9d08c371ffd85f3bd387357b1000e7 (patch)
tree55fdda456449a9a928f44ca5a2440f217b7e46dc /core/Migrations/Version14000Date20180710092004.php
parent609c8a9cf85f404ff3d8ed9db23a1cf5852047b4 (diff)
downloadnextcloud-server-ecbb066dec9d08c371ffd85f3bd387357b1000e7.tar.gz
nextcloud-server-ecbb066dec9d08c371ffd85f3bd387357b1000e7.zip
Make sure columns with an empty default are nullable for Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/Migrations/Version14000Date20180710092004.php')
-rw-r--r--core/Migrations/Version14000Date20180710092004.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Migrations/Version14000Date20180710092004.php b/core/Migrations/Version14000Date20180710092004.php
index 141b0c1afb5..767d8ee5f7d 100644
--- a/core/Migrations/Version14000Date20180710092004.php
+++ b/core/Migrations/Version14000Date20180710092004.php
@@ -43,6 +43,7 @@ class Version14000Date20180710092004 extends SimpleMigrationStep {
if (!$table->hasColumn('password_by_talk')) {
$table->addColumn('password_by_talk', Types::BOOLEAN, [
'default' => 0,
+ 'notnull' => false,
]);
}