
    ?ie                         U d Z ddlmZmZ ddlmZ ddlZdZe	e
d<   dZee	df   e
d<   dZee	ee	   df   e
d	<   dZee	ee	   df   e
d
<   ddZddZy)zhAdd OTP table

Revision ID: a9a4210b20f5
Revises: 8de2ffa1229f
Create Date: 2025-12-15 02:22:21.041210

    )SequenceUnion)opNa9a4210b20f5revision8de2ffa1229fdown_revisionbranch_labels
depends_onc                  ,   t        j                  dt        j                  dt        j                         d      t        j                  dt        j
                  d      d      t        j                  dt        j
                  d	      d      t        j                  d
t        j
                  d      d      t        j                  dt        j                         d      t        j                  dt        j                         d      t        j                  dt        j                  d      t        j                  d      d      t        j                  dt        j                  d      d      t        j                  dt        j                  d      d      t        j                  d             t        j                  t        j                  d      ddgd       t        j                  t        j                  d      ddgd       y )NotpsidF)nullablephone   )lengthcode
   purpose2   is_verifiedTattempts
created_at)timezoneznow())server_defaultr   
expires_atverified_at
ix_otps_id)uniqueix_otps_phone)r   create_tablesaColumnIntegerStringBooleanDateTimetextPrimaryKeyConstraintcreate_indexf     I/home/migbloin/fastapi-app/alembic/versions/a9a4210b20f5_add_otp_table.pyupgrader/      s>   OOFIIdBJJL51IIgryy+e<IIfbiir*U;IIi"->IImRZZ\D9IIj"**,6IIlBKK6rwwwGWbfgIIlBKK6GIImR[[$7$GD! OOBDD&uEOOBDD)6G9UKr-   c                      t        j                  t        j                  d      d       t        j                  t        j                  d      d       t        j                  d       y )Nr    r   )
table_namer   )r   
drop_indexr+   
drop_tabler,   r-   r.   	downgrader4   (   s<    MM"$$'F;MM"$$|$8MM&r-   )returnN)__doc__typingr   r   alembicr   
sqlalchemyr"   r   str__annotations__r	   r
   r   r/   r4   r,   r-   r.   <module>r<      ss    #   # "0uS$Y 015uS(3--. 5.2
E#x}d*+ 2L&r-   