20231206124840_add_machine_count_field_to_location_table.php 310 B

1234567891011
  1. <?php
  2. use Phinx\Migration\AbstractMigration;
  3. class AddMachineCountFieldToLocationTable extends AbstractMigration {
  4. public function change() {
  5. $this->table("location")
  6. ->addColumn("machine_count", "integer", ["signed" => false, "null" => true, "after" => "operations_manager_name"])
  7. ->update();
  8. }
  9. }