diff --git a/db/migrations/20241106120000_add_historic_bill.php b/db/migrations/20241106120000_add_historic_bill.php index 506fdea5f..b9edcf110 100644 --- a/db/migrations/20241106120000_add_historic_bill.php +++ b/db/migrations/20241106120000_add_historic_bill.php @@ -23,7 +23,6 @@ final class AddHistoricBill extends AbstractMigration { $HistoricBills->addColumn("IBAN", "string", ["null" => false, "limit" => 255]); $HistoricBills->addColumn("Mandatinvoice_number", "string", ["null" => false, "limit" => 255]); $HistoricBills->addColumn("payment", "integer", ["null" => false, "default" => "0"]); - $HistoricBills->create(); $HistoricBills->addIndex("invoice_number", ["name" => "invoice_number"]); $HistoricBills->save();