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