WIP Contract/Billing 2024-07-04
This commit is contained in:
@@ -9,7 +9,7 @@ final class ContractAddVat extends AbstractMigration
|
||||
{
|
||||
if($this->getEnvironment() == "thetool") {
|
||||
$table = $this->table("Contract");
|
||||
$table->addColumn("vatrate", "decimal", ["null" => false, "default" => 0, "precision" => 6, "scale" => 2, "after" => "price_setup"]);
|
||||
$table->addColumn("vatgroup_id", "integer", ["null" => false, "after" => "price_setup"]);
|
||||
$table->update();
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ final class ContractAddVat extends AbstractMigration
|
||||
{
|
||||
if($this->getEnvironment() == "thetool") {
|
||||
$table = $this->table("Contract");
|
||||
$table->removeColumn("vatrate");
|
||||
$table->removeColumn("vatgroup_id");
|
||||
$table->update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user