33 lines
941 B
Python
33 lines
941 B
Python
"""auto
|
|
|
|
Revision ID: 72853b8d2126
|
|
Revises: a55e6b0a4d9a
|
|
Create Date: 2026-08-03 15:54:59.335413+00:00
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
import sqlmodel # SQLModel renders AutoString() into migrations but adds no import
|
|
|
|
|
|
revision: str = '72853b8d2126'
|
|
down_revision: Union[str, None] = 'a55e6b0a4d9a'
|
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
depends_on: Union[str, Sequence[str], None] = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('inbox_messages', sa.Column('file_name', sqlmodel.sql.sqltypes.AutoString(), nullable=True), schema='app')
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('inbox_messages', 'file_name', schema='app')
|
|
# ### end Alembic commands ###
|