$options */ public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper { /** @var ISchemaWrapper $schema */ $schema = $schemaClosure(); if (!$schema->hasTable('educai_trace_runs')) { return $schema; } $table = $schema->getTable('educai_trace_runs'); if (!$table->hasColumn('prompt_token_count')) { $table->addColumn('prompt_token_count', Types::INTEGER, [ 'notnull' => false, 'unsigned' => true, ]); } if (!$table->hasColumn('completion_token_count')) { $table->addColumn('completion_token_count', Types::INTEGER, [ 'notnull' => false, 'unsigned' => true, ]); } if (!$table->hasColumn('total_token_count')) { $table->addColumn('total_token_count', Types::INTEGER, [ 'notnull' => false, 'unsigned' => true, ]); } return $schema; } }