1
0

20200907174445_add_notes_field_to_location_table.php 263 B

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