
    ]i0                     <    d Z ddlmZ ddlZdZdZdZdZddZ	ddZ
y)	zpAdd approval fields to expenses table.

Revision ID: f0i1j2k3l4m5
Revises: e7h8i9j0k1l2
Create Date: 2026-04-12
    )opNf0i1j2k3l4m5e7h8i9j0k1l2c                     t        j                  dt        j                  dt        j                  d      dd             t        j                  dt        j                  dt        j
                         t        j                  dd	
      d             t        j                  dt        j                  dt        j                  d      d             t        j                  dt        j                  dt        j
                         t        j                  dd	
      d             t        j                  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
                         t        j                  dd	
      d             t        j                  dt        j                  dt        j                  d      d             t        j                  dt        j                  dt        j
                         t        j                  dd	
      d             t        j                  dt        j                  dt        j                  d      d             t        j                  dt        j                  dt        j                         d             y )Nexpensesstatus   Fdraft)nullableserver_defaultsubmitted_by_idzmaster_user.idzSET NULL)ondeleteT)r   submitted_at)timezonereviewed_by_idreviewed_atcatatan_reviewrecalled_by_idrecalled_atunlocked_by_idunlocked_atunlock_reason)	r   
add_columnsaColumnStringInteger
ForeignKeyDateTimeText     X/var/www/html/spbu.com/backend/alembic/versions/f0i1j2k3l4m5_expenses_approval_fields.pyupgrader$      s   MM*bii"))B-%`ghiMM*bii(92::<Wgr|I}  IM  N  OMM*biiT8R]abcMM*bii(8"**,Vfq{H|  HL  M  NMM*biir{{D7Q\`abMM*bii(8"'')dSTMM*bii(8"**,Vfq{H|  HL  M  NMM*biir{{D7Q\`abMM*bii(8"**,Vfq{H|  HL  M  NMM*biir{{D7Q\`abMM*biiTRSr"   c                  >    dD ]  } t        j                  d|         y )N)r   r   r   r   r   r   r   r   r   r   r   r   )r   drop_column)cols    r#   	downgrader(      s    - 	z3'	-r"   )returnN)__doc__alembicr   
sqlalchemyr   revisiondown_revisionbranch_labels
depends_onr$   r(   r!   r"   r#   <module>r1      s1     
T(r"   