hasTable('wfda_workflows')) { return null; } $table = $schema->getTable('wfda_workflows'); $changed = false; foreach (['filter_user_ids', 'filter_label_ids'] as $column) { if ($table->hasColumn($column)) { $table->dropColumn($column); $changed = true; } } return $changed ? $schema : null; } }