20230615114329_increase_location_name_field_length.php 259 B

1234567891011
  1. <?php
  2. use Phinx\Migration\AbstractMigration;
  3. class IncreaseLocationNameFieldLength extends AbstractMigration {
  4. public function change() {
  5. $this->table("location")
  6. ->changeColumn("name", "string", ["limit" => 200, "null" => false])
  7. ->update();
  8. }
  9. }