from alembic import op
import sqlalchemy as sa
revision = 'f1a2b3c4d5e6'
down_revision = 'd9aff6c5f0d4'
branch_labels = None
depends_on = None

def upgrade() -> None:
    op.add_column('invoices', sa.Column('is_proforma', sa.Boolean(), nullable=False, server_default='0'))

def downgrade() -> None:
    op.drop_column('invoices', 'is_proforma')