hasTable('wfda_workflows')) { return null; } $table = $schema->getTable('wfda_workflows'); if ($table->hasColumn('notify_channel')) { return null; } $table->addColumn('notify_channel', Types::STRING, [ 'notnull' => true, 'length' => 16, 'default' => 'mail', ]); return $schema; } }