33 lines
983 B
Python
33 lines
983 B
Python
"""auto
|
|
|
|
Revision ID: 1a7c0e30aaab
|
|
Revises: 4b34909ae551
|
|
Create Date: 2026-08-12 08:17:21.212665+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 = '1a7c0e30aaab'
|
|
down_revision: Union[str, None] = '4b34909ae551'
|
|
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('manual_upload_candidate', sa.Column('referral_by', sqlmodel.sql.sqltypes.AutoString(), server_default='', nullable=False), schema='app')
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade() -> None:
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('manual_upload_candidate', 'referral_by', schema='app')
|
|
# ### end Alembic commands ###
|