summaryrefslogtreecommitdiffstats
path: root/core/Migrations/Version15000Date20180926101451.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/Version15000Date20180926101451.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/Version15000Date20180926101451.php')
-rw-r--r--core/Migrations/Version15000Date20180926101451.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Migrations/Version15000Date20180926101451.php b/core/Migrations/Version15000Date20180926101451.php
index a5f37cc9125..e03a11318c0 100644
--- a/core/Migrations/Version15000Date20180926101451.php
+++ b/core/Migrations/Version15000Date20180926101451.php
@@ -45,8 +45,8 @@ class Version15000Date20180926101451 extends SimpleMigrationStep {
$table = $schema->getTable('authtoken');
$table->addColumn('password_invalid','boolean', [
- 'notnull' => true,
- 'default' => false,
+ 'default' => 0,
+ 'notnull' => false,
]);
return $schema;