arc/hesabixAPI/migrations/versions/20261110_000006_oa_signature_provider_endpoint.py
Babak Alizadeh b68a6ab5fa
Some checks failed
Flutter Windows / verify-windows (push) Has been cancelled
feat: ship CRM enterprise, office automation, and procurement
Add the next office-automation phases, CRM workspace and enterprise flows, and the procurement plugin, with help-center content and admin follow-through.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 23:48:01 +03:30

24 lines
822 B
Python

"""نشانی زنده ارائه‌دهنده امضا. توکن در پاسخ API برنمی‌گردد.
Revision ID: 20261110_000006_oa_signature_provider_endpoint
Revises: 20261110_000005_oa_enterprise
"""
from __future__ import annotations
import sqlalchemy as sa
from alembic import op
revision = "20261110_000006_oa_signature_provider_endpoint"
down_revision = "20261110_000005_oa_enterprise"
branch_labels = None
depends_on = None
def upgrade() -> None:
op.add_column("oa_signature_providers", sa.Column("endpoint_url", sa.String(length=500), nullable=True))
op.add_column("oa_signature_providers", sa.Column("access_token", sa.String(length=500), nullable=True))
def downgrade() -> None:
op.drop_column("oa_signature_providers", "access_token")
op.drop_column("oa_signature_providers", "endpoint_url")