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