29 lines
762 B
Python
29 lines
762 B
Python
"""accounts add wizard columns
|
|
|
|
Revision ID: e1af7ab57ceb
|
|
Revises: 58e3caaa6269
|
|
Create Date: 2026-05-06 07:27:15.755518
|
|
|
|
"""
|
|
from typing import Sequence, Union
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision: str = 'e1af7ab57ceb'
|
|
down_revision: Union[str, None] = '58e3caaa6269'
|
|
branch_labels: Union[str, Sequence[str], None] = None
|
|
depends_on: Union[str, Sequence[str], None] = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column("accounts", sa.Column("team_size_bucket", sa.String(20), nullable=True))
|
|
op.add_column("accounts", sa.Column("primary_psa", sa.String(20), nullable=True))
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("accounts", "primary_psa")
|
|
op.drop_column("accounts", "team_size_bucket")
|