mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
we should never drop a database
This commit is contained in:
parent
166693426d
commit
102619ab87
1 changed files with 3 additions and 0 deletions
|
|
@ -497,6 +497,9 @@ class OC_DB {
|
|||
$definition['name']=OC_Config::getValue( "dbuser", $oldname );
|
||||
}
|
||||
|
||||
// we should never drop a database
|
||||
$definition['overwrite'] = false;
|
||||
|
||||
$ret=self::$schema->createDatabase( $definition );
|
||||
|
||||
// Die in case something went wrong
|
||||
|
|
|
|||
Loading…
Reference in a new issue