feat: Add base project structure with API and web components
This commit is contained in:
38
api/migrations/versions/fbab88219447_20251126213637.py
Normal file
38
api/migrations/versions/fbab88219447_20251126213637.py
Normal file
@@ -0,0 +1,38 @@
|
||||
"""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 ###
|
||||
Reference in New Issue
Block a user