mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Fix installing on Oracle
Empty strings are stored as null in Oracle, so a column with NotNull can not have an empty string as default Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1ed0a8cace
commit
e80f566aeb
1 changed files with 3 additions and 1 deletions
|
|
@ -59,7 +59,9 @@ class Version18000Date20190920085628 extends SimpleMigrationStep {
|
|||
$table->addColumn('displayname', Type::STRING, [
|
||||
'notnull' => true,
|
||||
'length' => 255,
|
||||
'default' => '',
|
||||
// Will be overwritten in postSchemaChange, but Oracle can not save
|
||||
// empty strings in notnull columns
|
||||
'default' => 'name',
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue