20221225153442_add_invoice_footer_field_to_company_table.php 314 B

123456789101112
  1. <?php
  2. declare(strict_types=1);
  3. use Phinx\Migration\AbstractMigration;
  4. final class AddInvoiceFooterFieldToCompanyTable extends AbstractMigration {
  5. public function change(): void {
  6. $this->table("company")
  7. ->addColumn("invoice_footer", "string", ["null" => true, "after" => "vat_number"])
  8. ->update();
  9. }
  10. }