"""add_search_indexes

Revision ID: 2088667c3a5f
Revises: 4c9211307d7a
Create Date: 2026-01-28 18:35:15.269274

"""
from typing import Sequence, Union

from alembic import op


# revision identifiers, used by Alembic.
revision: str = '2088667c3a5f'
down_revision: Union[str, None] = '4c9211307d7a'
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.create_index(op.f('ix_coupons_title'), 'coupons', ['title'], unique=False)
    op.create_index(op.f('ix_users_full_name'), 'users', ['full_name'], unique=False)
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_users_full_name'), table_name='users')
    op.drop_index(op.f('ix_coupons_title'), table_name='coupons')
    # ### end Alembic commands ###

