mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
Merge dropColumn and addColumn into changeColumn
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
658edacf23
commit
37b6405a8a
@ -65,9 +65,8 @@ class Version16000Date20190427105638 extends SimpleMigrationStep {
|
||||
if ($schema->hasTable('collres_accesscache')) {
|
||||
$table = $schema->getTable('collres_accesscache');
|
||||
|
||||
$table->dropColumn('access');
|
||||
|
||||
$table->addColumn('access', Type::BOOLEAN, [
|
||||
$table->changeColumn('access', [
|
||||
'type' => Type::BOOLEAN,
|
||||
'notnull' => true,
|
||||
'default' => false,
|
||||
]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user