U
    \Úd~&  ã                   @   s<   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
dS )
zhempty message

Revision ID: 53e9a273e4fa
Revises: fef965688b0f
Create Date: 2020-10-06 10:52:45.913329

é    )ÚopNÚ53e9a273e4faÚfef965688b0fc                   C   s:  t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  d
tjdtjdddd¡ t jt  d¡d
dgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  dtjdtjdddd¡ t jt  d¡ddgdd	 t  d tjdtjdddd¡ t jt  d!¡d dgdd	 t  d"tjdtjdddd¡ t jt  d#¡d"dgdd	 t  d$tjdtjdddd¡ t jt  d%¡d$dgdd	 t  d&tjdtjdddd¡ t jt  d'¡d&dgdd	 t  d(tjdtjdddd¡ t jt  d)¡d(dgdd	 t  d*tjdtjdddd¡ t jt  d+¡d*dgdd	 t  d,tjdtjdddd¡ t jt  d-¡d,dgdd	 t  d.tjdtjdddd¡ t jt  d/¡d.dgdd	 t  d0tjdtjdddd¡ t jt  d1¡d0dgdd	 t  d2tjdtjdddd¡ t jt  d3¡d2dgdd	 t  d4tjdtjdddd¡ t jt  d5¡d4dgdd	 d S )6NÚcmf_document_executorsÚroot_idé@   )ÚlengthT)ÚnullableÚ!ix_cmf_document_executors_root_idF)ÚuniqueÚcmf_document_related_objectsÚ'ix_cmf_document_related_objects_root_idÚcmf_document_spectatorsÚ"ix_cmf_document_spectators_root_idÚcmf_kanban_status_objectsÚ$ix_cmf_kanban_status_objects_root_idÚcmf_person_group_rg_membersÚ&ix_cmf_person_group_rg_members_root_idÚcmf_project_executorsÚ ix_cmf_project_executors_root_idÚcmf_project_spectatorsÚ!ix_cmf_project_spectators_root_idÚcmf_u_work_chat_group_executorsÚ*ix_cmf_u_work_chat_group_executors_root_idÚ%cmf_u_work_chat_group_related_objectsÚ0ix_cmf_u_work_chat_group_related_objects_root_idÚ cmf_u_work_chat_group_spectatorsÚ+ix_cmf_u_work_chat_group_spectators_root_idÚcmf_u_work_chat_topic_executorsÚ*ix_cmf_u_work_chat_topic_executors_root_idÚ%cmf_u_work_chat_topic_related_objectsÚ0ix_cmf_u_work_chat_topic_related_objects_root_idÚ cmf_u_work_chat_topic_spectatorsÚ+ix_cmf_u_work_chat_topic_spectators_root_idÚcmf_u_work_list_executorsÚ$ix_cmf_u_work_list_executors_root_idÚcmf_u_work_list_membersÚ"ix_cmf_u_work_list_members_root_idÚcmf_u_work_list_related_objectsÚ*ix_cmf_u_work_list_related_objects_root_idÚcmf_u_work_list_spectatorsÚ%ix_cmf_u_work_list_spectators_root_idÚcmf_u_work_post_executorsÚ$ix_cmf_u_work_post_executors_root_idÚcmf_u_work_post_related_objectsÚ*ix_cmf_u_work_post_related_objects_root_idÚcmf_u_work_post_spectatorsÚ%ix_cmf_u_work_post_spectators_root_idÚcmf_u_work_task_executorsÚ$ix_cmf_u_work_task_executors_root_idÚcmf_u_work_task_related_objectsÚ*ix_cmf_u_work_task_related_objects_root_idÚcmf_u_work_task_spectatorsÚ%ix_cmf_u_work_task_spectators_root_id)r   Ú
add_columnÚsaÚColumnÚCHARÚcreate_indexÚf© r>   r>   ú./opt/eva-app/alembic/versions/53e9a273e4fa_.pyÚupgrade   s\                           r@   c                   C   sä  t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d	¡d
d t  d
d¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡dd t  dd¡ t jt  d¡d d t  d d¡ t jt  d!¡d"d t  d"d¡ t jt  d#¡d$d t  d$d¡ t jt  d%¡d&d t  d&d¡ t jt  d'¡d(d t  d(d¡ t jt  d)¡d*d t  d*d¡ t jt  d+¡d,d t  d,d¡ t jt  d-¡d.d t  d.d¡ t jt  d/¡d0d t  d0d¡ d S )1Nr7   r6   )Ú
table_namer   r5   r4   r3   r2   r1   r0   r/   r.   r-   r,   r+   r*   r)   r(   r'   r&   r%   r$   r#   r"   r!   r    r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r
   r   )r   Ú
drop_indexr=   Údrop_columnr>   r>   r>   r?   Ú	downgradeF   s\    rD   )Ú__doc__Úalembicr   Ú
sqlalchemyr9   ÚrevisionÚdown_revisionÚbranch_labelsÚ
depends_onr@   rD   r>   r>   r>   r?   Ú<module>   s   3