33 lines
894 B
Python
33 lines
894 B
Python
"""add_tournament_description
|
|
|
|
Revision ID: d096f9d0b612
|
|
Revises: c82cc216a199
|
|
Create Date: 2026-03-06 17:18:22.377857
|
|
|
|
"""
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = 'd096f9d0b612'
|
|
down_revision: Union[str, Sequence[str], None] = 'c82cc216a199'
|
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
depends_on: Union[str, Sequence[str], None] = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
"""Upgrade schema."""
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('tournaments', sa.Column('description', sa.String(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
"""Downgrade schema."""
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('tournaments', 'description')
|
|
# ### end Alembic commands ###
|