lab5: асинхронный воркер, брокер сообщений

This commit is contained in:
2026-11-20 18:44:04 +03:00
parent 276dbdad8a
commit 35753ff11d
88 changed files with 5726 additions and 53 deletions
@@ -0,0 +1,20 @@
from alembic import op
import sqlalchemy as sa
revision = "ffdfa8869ddc"
down_revision = "e090e7a3e071"
branch_labels = None
depends_on = None
def upgrade() -> None:
op.add_column(
"attachments",
sa.Column("webp_key", sa.String(), nullable=True)
)
def downgrade() -> None:
op.drop_column("attachments", "webp_key")