20260402153903_add_dts_created_field_to_location_table.php 274 B

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