| 12345678910111213 |
- <?php
- use Phinx\Db\Adapter\MysqlAdapter;
- use Phinx\Migration\AbstractMigration;
- class AddYearCycleMonthField extends AbstractMigration {
- public function change() {
- $table = $this->table("customer");
- $table
- ->addColumn("year_cycle_month", "integer", ["limit" => MysqlAdapter::INT_TINY, "signed" => false, "null" => true])
- ->update();
- }
- }
|