Init Project Flexly Estimator
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
"""VAT rate per estimate version
|
||||
|
||||
Revision ID: 0003
|
||||
Revises: 0002
|
||||
Create Date: 2026-10-31
|
||||
"""
|
||||
import sqlalchemy as sa
|
||||
from alembic import op
|
||||
|
||||
revision = "0003"
|
||||
down_revision = "0002"
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
with op.batch_alter_table("estimate_versions") as batch:
|
||||
batch.add_column(sa.Column("vat_rate", sa.Float, nullable=False, server_default="0"))
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
with op.batch_alter_table("estimate_versions") as batch:
|
||||
batch.drop_column("vat_rate")
|
||||
Reference in New Issue
Block a user