"""add title and updated_at indexes Revision ID: 0007 Revises: 0006 Create Date: 2026-02-11 00:00:00.000000 """ from alembic import op revision = "0007" down_revision = "0006" branch_labels = None depends_on = None def upgrade() -> None: op.execute("CREATE INDEX IF NOT EXISTS ix_notes_title ON notes (title)") op.execute("CREATE INDEX IF NOT EXISTS ix_conversations_updated_at ON conversations (updated_at)") def downgrade() -> None: op.execute("DROP INDEX IF EXISTS ix_notes_title") op.execute("DROP INDEX IF EXISTS ix_conversations_updated_at")