Added legacy_account in Vatrate

This commit is contained in:
Frank Schubert
2024-02-20 22:26:20 +01:00
parent 7cb5ac6329
commit b0cd82d0dd
4 changed files with 13 additions and 0 deletions
@@ -21,6 +21,7 @@ final class CreateVatTables extends AbstractMigration
$table->addColumn("vatgroup_id", "integer", ["null" => false]);
$table->addColumn("area", "enum", ["null" => false, "values" => "domestic,eu,other"]);
$table->addColumn("account", "integer", ["null" => false]);
$table->addColumn("legacy_account", "integer", ["null" => true, "default" => null]);
$table->addColumn("rate", "decimal", ["null" => false, "precision" => 6, "scale" => 2]);
$table->addColumn("invoice_text", "text", ["null" => true, "default" => null]);
$table->addColumn("create_by", "integer", ["null" => false]);