hasTable('systemtag')) { $table = $schema->getTable('systemtag'); if (!$table->hasColumn('etag')) { $table->addColumn('etag', Types::STRING, [ 'notnull' => false, 'length' => 32, ]); } } return $schema; } }