20241031150415_add_archived_field_to_customer_table.php 298 B

1234567891011
  1. <?php
  2. use Phinx\Migration\AbstractMigration;
  3. class AddArchivedFieldToCustomerTable extends AbstractMigration {
  4. public function change() {
  5. $this->table("customer")
  6. ->addColumn("archived", "boolean", ["signed" => false, "default" => 0, "after" => "show_in_map_overview"])
  7. ->update();
  8. }
  9. }