apps/files_sharing/appinfo/Migrations/Version20170804201125.php
Method changeSchema
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function changeSchema(Schema $schema, array $options) {
$prefix = $options['tablePrefix'];
if (!$schema->hasTable("{$prefix}share_external")) {
$table = $schema->createTable("{$prefix}share_external");
$table->addColumn('id', 'bigint', [