1
0

20221130204216_add_archived_field_to_user_table.php 279 B

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