§
    áyài
  ã                   ó:   — d Z ddlmZ ddlZdZdZdZdZd„ Z	d„ Z
dS )z|add_missing_indexes_20260416_0747

Revision ID: 7cbab1da2643
Revises: d345aa7d2266
Create Date: 2026-04-16 05:47:23.469973

é    )ÚopNÚ7cbab1da2643Úd345aa7d2266c                  óæ  — t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d	¦  «         t          j        d
¦  «         t          j        d¦  «         t          j        d¦  «         d S )NzV
        CREATE INDEX IF NOT EXISTS ix_comments_parent_id ON comments(parent_id);
    zR
        CREATE INDEX IF NOT EXISTS ix_sessions_user_id ON sessions(user_id);
    zl
        CREATE INDEX IF NOT EXISTS ix_watch_history_last_watched_at ON watch_history(last_watched_at);
    zN
        CREATE INDEX IF NOT EXISTS ix_streams_status ON streams(status);
    zV
        CREATE INDEX IF NOT EXISTS ix_streams_created_by ON streams(created_by);
    zV
        CREATE INDEX IF NOT EXISTS ix_comments_stream_id ON comments(stream_id);
    zR
        CREATE INDEX IF NOT EXISTS ix_comments_user_id ON comments(user_id);
    zd
        CREATE INDEX IF NOT EXISTS ix_processing_jobs_stream_id ON processing_jobs(stream_id);
    z^
        CREATE INDEX IF NOT EXISTS ix_processing_jobs_status ON processing_jobs(status);
    zZ
        CREATE INDEX IF NOT EXISTS ix_activity_log_user_id ON activity_log(user_id);
    zX
        CREATE INDEX IF NOT EXISTS ix_sessions_expires_at ON sessions(expires_at);
    z`
        CREATE INDEX IF NOT EXISTS ix_activity_log_created_at ON activity_log(created_at);
    ©r   Úexecute© ó    úU/app/alembic/versions/20260416_0547_7cbab1da2643_add_missing_indexes_20260416_0747.pyÚupgrader      óN  € Ý„Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	õ „Jð ñ 	ô 	ð 	ð 	ð 	r
   c                  óæ  — t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d¦  «         t          j        d	¦  «         t          j        d
¦  «         t          j        d¦  «         t          j        d¦  «         d S )Nz9
        DROP INDEX IF EXISTS ix_comments_parent_id;
    z7
        DROP INDEX IF EXISTS ix_sessions_user_id;
    zD
        DROP INDEX IF EXISTS ix_watch_history_last_watched_at;
    z5
        DROP INDEX IF EXISTS ix_streams_status;
    z9
        DROP INDEX IF EXISTS ix_streams_created_by;
    z9
        DROP INDEX IF EXISTS ix_comments_stream_id;
    z7
        DROP INDEX IF EXISTS ix_comments_user_id;
    z@
        DROP INDEX IF EXISTS ix_processing_jobs_stream_id;
    z=
        DROP INDEX IF EXISTS ix_processing_jobs_status;
    z;
        DROP INDEX IF EXISTS ix_activity_log_user_id;
    z:
        DROP INDEX IF EXISTS ix_sessions_expires_at;
    z>
        DROP INDEX IF EXISTS ix_activity_log_created_at;
    r   r	   r
   r   Ú	downgrader   9   r   r
   )Ú__doc__Úalembicr   Ú
sqlalchemyÚsaÚrevisionÚdown_revisionÚbranch_labelsÚ
depends_onr   r   r	   r
   r   ú<module>r      sn   ððð ð Ð Ð Ð Ð Ð Ø Ð Ð Ð ð €Ø€Ø€Ø€
ð$	ð $	ð $	ðL$	ð $	ð $	ð $	ð $	r
   