Skip to main content
Glama
c4f3d6e1a2b9_add_attachments_to_booking_sessions.py894 B
"""add_attachments_to_booking_sessions Revision ID: c4f3d6e1a2b9 Revises: ba43701ca867 Create Date: 2025-10-21 14:30:00.000000 """ from typing import Sequence, Union from alembic import op import sqlalchemy as sa from sqlalchemy.dialects.postgresql import JSON # revision identifiers, used by Alembic. revision: str = 'c4f3d6e1a2b9' down_revision: Union[str, Sequence[str], None] = 'ba43701ca867' branch_labels: Union[str, Sequence[str], None] = None depends_on: Union[str, Sequence[str], None] = None def upgrade() -> None: """Add attachments column to hybrid_booking_sessions table.""" op.add_column( 'hybrid_booking_sessions', sa.Column('attachments', JSON, nullable=True, server_default='[]') ) def downgrade() -> None: """Remove attachments column from hybrid_booking_sessions table.""" op.drop_column('hybrid_booking_sessions', 'attachments')

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ilvolodel/iris-legacy'

If you have feedback or need assistance with the MCP directory API, please join our Discord server