Files
zibo-dashboard/db/migrations/20260706083728_add_dxf_to_cad_area_jobs.php
2026-07-06 11:06:33 +02:00

27 lines
660 B
PHP

<?php
declare(strict_types=1);
use Phinx\Migration\AbstractMigration;
final class AddDxfToCadAreaJobs extends AbstractMigration
{
public function change(): void
{
$this->table('cad_area_jobs')
->addColumn('dxf_filename', 'string', [
'limit' => 255,
'null' => true,
'default' => null,
'after' => 'manual_holes_json'
])
->addColumn('dxf_url', 'string', [
'limit' => 500,
'null' => true,
'default' => null,
'after' => 'dxf_filename'
])
->update();
}
}