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 )
zmproject components

Revision ID: 8ad076c33c30
Revises: 58292ff69028
Create Date: 2023-06-22 17:46:46.653882

é    )ÚopNZ8ad076c33c30Z58292ff69028c                2   C   sâ  t  dtjdtjddddtjdtjdd	ddtjd
tjdd	ddtjdtjdd	ddtjdtjdd	ddtjdt ¡ ddtjdt ¡ ddtjdtjddddtjdtjddddtjdt ¡ ddtjdt ¡ ddtjdt ¡ ddtjdt ¡ ddtjdt ¡ ddtjdt ¡ ddtjdt ¡ ddtjdt ¡ ddtjdt ¡ ddtjdt 	¡ ddtjdt ¡ ddtjdt ¡ ddtjdt ¡ ddtjdtjddddtjd tjddddtjd!tjddddtjd"t ¡ ddtjd#t ¡ ddtjd$t ¡ ddtjd%t ¡ ddtjd&t ¡ ddtjd'tjddddtjd(tjddddtjd)tjddddtjd*tjddddtjd+tjddddtjd,tjddddtjd-tjddddtjd.tjddddtjd/tjddddtjd0tjddddtjd1tjddddt 
d,gd2g¡t 
d1gd3g¡t 
d/gd4g¡t d¡¡. t jt  d5¡dd'gdd6 t jt  d7¡dd
gdd6 t jt  d8¡ddgdd6 t jt  d9¡dd,gdd6 t jt  d:¡ddgdd6 t jt  d;¡dd+gdd6 t jt  d<¡ddgdd6 t jt  d=¡dd*gdd6 t jt  d>¡dd(gdd6 t jt  d?¡ddgdd6 t jt  d@¡ddgdd6 t jt  dA¡ddgdd6 t jt  dB¡dd1gdd6 t jt  dC¡ddgdd6 t jt  dD¡ddgdd6 t jt  dE¡dd)gdd6 t jt  dF¡dd/gdd6 t jt  dG¡dd0gdd6 t jt  dH¡dd.gdd6 t jt  dI¡dd-gdd6 t  dJtjdtjdKdddtjd)tjddddtjdLtjddddtjdMtjdNdddtjdOtjddddtjdPtjddddtjdQtjddddtjdRtjddddt 
dOgdSg¡t 
dPgdTg¡t d¡¡ t jt  dU¡dJdOgdd6 t jt  dV¡dJd)gdd6 t jt  dW¡dJdPgdd6 t jt  dX¡dJdLgdd6 t  dYtjdZt ¡ dd[d\¡ d S )]NÚcmf_componentÚidé@   )ÚlengthF)ÚnullableÚcmf_locked_atT)ÚtimezoneÚcmf_created_atÚcmf_modified_atÚcmf_viewed_atÚcmf_deletedÚcmf_versionÚnameé   ÚcodeÚsystemÚtextÚimport_originalÚimport_raw_jsonÚext_idÚis_favoriteÚhas_tree_nodesÚtree_node_is_branchÚtree_hiddenÚordernoÚperm_publicÚperm_has_aclÚperm_inheritÚperm_parent_owner_idÚperm_inherit_acl_idÚperm_effective_acl_idÚperm_encryptÚ	is_publicÚis_public_editableÚis_public_commentsÚ
cmf_hiddenÚcmf_author_idÚcmf_owner_idÚ	parent_idÚcmf_modified_by_idÚcmf_locked_by_idÚcmf_import_idÚtree_parent_idÚroot_parent_idÚperm_acl_idÚperm_parent_idÚdescr_document_idzcmf_import.idzcmf_document.idzcmf_access_list.idÚix_cmf_component_cmf_author_id)ÚuniqueÚix_cmf_component_cmf_created_atÚix_cmf_component_cmf_deletedÚix_cmf_component_cmf_import_idÚix_cmf_component_cmf_locked_atÚ!ix_cmf_component_cmf_locked_by_idÚ ix_cmf_component_cmf_modified_atÚ#ix_cmf_component_cmf_modified_by_idÚix_cmf_component_cmf_owner_idÚix_cmf_component_cmf_versionÚix_cmf_component_cmf_viewed_atÚix_cmf_component_codeÚ"ix_cmf_component_descr_document_idÚix_cmf_component_nameÚix_cmf_component_ordernoÚix_cmf_component_parent_idÚix_cmf_component_perm_acl_idÚix_cmf_component_perm_parent_idÚix_cmf_component_root_parent_idÚix_cmf_component_tree_parent_idÚcmf_task_cmf_componenté€   Úroot_idÚdescriptioni   Úleft_idÚright_idÚleft_name_cacheÚright_name_cachezcmf_task.idzcmf_component.idÚ!ix_cmf_task_cmf_component_left_idÚ#ix_cmf_task_cmf_component_parent_idÚ"ix_cmf_task_cmf_component_right_idÚ!ix_cmf_task_cmf_component_root_idÚcmf_projectÚshow_componentsÚfalse)r   Úserver_default)r   Úcreate_tableÚsaÚColumnÚStringÚ	TIMESTAMPÚBooleanÚBIGINTÚTEXTÚIntegerÚForeignKeyConstraintÚPrimaryKeyConstraintÚcreate_indexÚfÚ
add_column© re   re   ú@/opt/eva-app/alembic/versions/8ad076c33c30_project_components.pyÚupgrade   sª    Ó/õrg   c                   C   s  t  dd¡ t jt  d¡dd t jt  d¡dd t jt  d¡dd t jt  d¡dd t  d¡ t jt  d	¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t jt  d¡d
d t  d
¡ d S )NrS   rT   rR   rG   )Ú
table_namerQ   rP   rO   rF   r   rE   rD   rC   rB   rA   r@   r?   r>   r=   r<   r;   r:   r9   r8   r7   r6   r5   r4   r2   )r   Údrop_columnÚ
drop_indexrc   Ú
drop_tablere   re   re   rf   Ú	downgradem   s6    
rl   )Ú__doc__Úalembicr   Ú
sqlalchemyrX   ÚrevisionÚdown_revisionÚbranch_labelsÚ
depends_onrg   rl   re   re   re   rf   Ú<module>   s   Z