
    3Bi                         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)ztCreate publications model

Revision ID: e389f72319f2
Revises: 50fdb224e8b8
Create Date: 2025-12-17 04:38:23.836859

    )SequenceUnion)opNe389f72319f2revision50fdb224e8b8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      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t        j                  d
      t        j                  d      d
      t        j                  dt        j                  d
      d
      t        j                  dgdg      t        j                  d             t        j                  t        j                  d      ddgd       t        j                  t        j                  d      ddgd       t        j                  t        j                  d      ddgd       y )NpublicationsidF)nullabletitle   )lengthcontent	image_urlTcategoryd   is_publishedpublished_at	author_id
created_at)timezoneznow())server_defaultr   
updated_atzusers.idix_publications_category)uniqueix_publications_idix_publications_is_published)r   create_tablesaColumnIntegerStringTextBooleanDateTimetextForeignKeyConstraintPrimaryKeyConstraintcreate_indexf     _/home/www/lebenam.kofcorporation.com/alembic/versions/e389f72319f2_create_publications_model.pyupgrader2      s   OONIIdBJJL51IIgryy,u=IIiU3IIk299C04@IIj"))3/$?IInbjjlT:IInbkkmd;IIk2::<%8IIlBKK6rwwwGWbfgIIlBKK6F[MJ<:D! OOBDD34nzl[`aOOBDD-.uUOOBDD78.>JZchir0   c                  *   t        j                  t        j                  d      d       t        j                  t        j                  d      d       t        j                  t        j                  d      d       t        j                  d       y )Nr!   r   )
table_namer    r   )r   
drop_indexr.   
drop_tabler/   r0   r1   	downgrader7   +   sV    MM"$$56>RMM"$$+,HMM"$$12~NMM.!r0   )returnN)__doc__typingr   r   alembicr   
sqlalchemyr#   r   str__annotations__r	   r
   r   r2   r7   r/   r0   r1   <module>r?      ss    #   # "0uS$Y 015uS(3--. 5.2
E#x}d*+ 2j,"r0   