20200606124116_add_template_keys_field_to_project_table.php 276 B

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