| 123456789101112 |
- <?php
- declare(strict_types=1);
- use Phinx\Migration\AbstractMigration;
- final class AddVatNumberFieldToCustomerTable extends AbstractMigration {
- public function change(): void {
- $this->table("customer")
- ->addColumn("vat_number", "string", ["limit" => 32, "null" => true, "after" => "email"])
- ->update();
- }
- }
|