Merge branch 'fronkdev' into 'master'
Fixed Migration for HistoricBill See merge request fronk/thetool!714
This commit is contained in:
@@ -9,7 +9,6 @@ final class AddHistoricBill extends AbstractMigration {
|
||||
//HistoricTicket Table
|
||||
$HistoricBills = $this->table("HistoricBill", ["signed" => true]);
|
||||
|
||||
$HistoricBills->addColumn("invoice_number", "integer", ["null" => true]);
|
||||
$HistoricBills->addColumn("cinvoice_number", "string", ["null" => false, "limit" => 255]);
|
||||
$HistoricBills->addColumn("invoice_number", "string", ["null" => false, "limit" => 255]);
|
||||
$HistoricBills->addColumn("cid", "integer", ["null" => false, "default" => "0"]);
|
||||
@@ -24,9 +23,10 @@ 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->save();
|
||||
$HistoricBills->create();
|
||||
|
||||
$HistoricBills->addIndex("invoice_number", ["name" => "invoice_number"]);
|
||||
$HistoricBills->save();
|
||||
}
|
||||
|
||||
if ($this->getEnvironment() == "addressdb") {
|
||||
|
||||
Reference in New Issue
Block a user