39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
"""20251126213637
|
|
|
|
Revision ID: fbab88219447
|
|
Revises: f210d1844b07
|
|
Create Date: 2025-11-26 21:36:45.872344
|
|
|
|
"""
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = 'fbab88219447'
|
|
down_revision: Union[str, None] = 'f210d1844b07'
|
|
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.alter_column('data_config', 'workspace_id',
|
|
existing_type=sa.UUID(),
|
|
comment='工作空间ID',
|
|
existing_comment='comment',
|
|
existing_nullable=True)
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.alter_column('data_config', 'workspace_id',
|
|
existing_type=sa.UUID(),
|
|
comment='comment',
|
|
existing_comment='工作空间ID',
|
|
existing_nullable=True)
|
|
# ### end Alembic commands ###
|