
    rhJ
                         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)z]initial tables

Revision ID: 010b75a8b010
Revises: 
Create Date: 2025-05-30 23:52:54.722298

    )SequenceUnion)opN010b75a8b010revisiondown_revisionbranch_labels
depends_onc                     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      t        j                  dt        j                         t        j                  d      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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	      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	      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      t        j                  dt        j                         t        j                  d      d      t        j                  dt        j                         t        j                  d      d      t        j                  d      t        j                  d             y) zUpgrade schema.chat_historiesidF)nullablechat_idTrole    )lengthmessage	create_atzTIMEZONE('utc+3', now()))server_defaultr   user_permissionslogin   usersusernamegendercitywhere_practicingwere_clientsmassage_techniqueusing_sociallang	row_sheetnumber_of_daystrialpremium	update_atN)r   create_tablesaColumn
BigIntegerStringDateTimetextPrimaryKeyConstraintIntegerDateUniqueConstraint     >/app/bot/db/migrations/versions/010b75a8b010_initial_tables.pyupgrader5      s    OO$IIdBMMOe4IIi48IIfbiir*T:IIiu5IIk2;;=A[9\glmD! OO&IIdBMMOe4IIgryy,t<D!
 OOGIIi59IIj"))2.>IIh		,u=IIfbiis+d;II "))3"7$GIInbiis3dCII!299C#84HIInbiis3dCIIfbiir*U;IIk299B/$?II

u=IIgrzz|e4IIi277;U3VafgIIk2;;=A[9\glmIIk2;;=A[9\glmI&	"#r3   c                      t        j                  d       t        j                  d       t        j                  d       y)zDowngrade schema.r   r   r   N)r   
drop_tabler2   r3   r4   	downgrader8   ;   s*     MM'MM$%MM"#r3   )returnN)__doc__typingr   r   alembicr   
sqlalchemyr(   r   str__annotations__r   r	   r
   r5   r8   r2   r3   r4   <module>r@      ss    #   # "&uS$Y &15uS(3--. 5.2
E#x}d*+ 2"L$r3   