Разработана первая версия приложений

This commit is contained in:
mi
2026-07-10 18:06:14 +03:00
parent aa8761d1b3
commit 8c7b4074c4
162 changed files with 12178 additions and 16 deletions
@@ -0,0 +1,20 @@
"""Create durable OAuth, mapping, inbox, outbox, setup and audit storage."""
from alembic import op
from app.models import Base
revision = "0001_bitrix_local"
down_revision = None
branch_labels = None
depends_on = None
def upgrade() -> None:
bind = op.get_bind()
op.execute("CREATE SCHEMA IF NOT EXISTS bitrix_local")
Base.metadata.create_all(bind=bind, checkfirst=False)
def downgrade() -> None:
Base.metadata.drop_all(bind=op.get_bind(), checkfirst=True)