Fixed some migrations

This commit is contained in:
Frank Schubert
2025-11-18 20:16:17 +01:00
parent 36c646e335
commit f312071aca
3 changed files with 8 additions and 1 deletions
@@ -49,6 +49,7 @@ final class WarehouseOfferVersioning extends AbstractMigration
// Use Phinx schema builder to add columns to the WarehouseOffer table
$warehouseOffer = $this->table('WarehouseOffer');
$warehouseOffer
->addColumn('contactPerson', 'string', ['limit' => 255, 'null' => true, "after" => 'customerName'])
->addColumn('contactPersonEmail', 'string', ['limit' => 255, 'null' => true, 'after' => 'contactPerson'])
->addColumn('lastSentDate', 'integer', ['null' => true, 'after' => 'status'])
->addColumn('version', 'integer', ['default' => 1, 'after' => 'id'])