20240930104028_add_payment_fields_to_location_table.php 279 B

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