U
    :/³fi  ã                   @   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 )
zaexport

Revision ID: d9f6919d2961
Revises: 2a95bf58c29c
Create Date: 2024-07-30 13:46:22.197673

é    )ÚopNÚd9f6919d2961Ú2a95bf58c29cc                0   C   sZ  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 ¡ 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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 
d*gd0g¡t 
d.gd1g¡t 
d-gd2g¡t d¡¡, t jt  d3¡dd%gdd4 t jt  d5¡dd
gdd4 t jt  d6¡ddgdd4 t jt  d7¡dd*gdd4 t jt  d8¡ddgdd4 t jt  d9¡dd)gdd4 t jt  d:¡ddgdd4 t jt  d;¡dd(gdd4 t jt  d<¡dd&gdd4 t jt  d=¡ddgdd4 t jt  d>¡ddgdd4 t jt  d?¡ddgdd4 t jt  d@¡ddgdd4 t jt  dA¡ddgdd4 t jt  dB¡dd'gdd4 t jt  dC¡dd.gdd4 t jt  dD¡dd/gdd4 t jt  dE¡dd-gdd4 t jt  dF¡dd,gdd4 t jt  dG¡dd+gdd4 d S )HNÚ
cmf_exportÚ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Úcmf_archivedÚ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_security_level_allowed_ids_cacheÚperm_encryptÚ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Ú
project_idÚperm_acl_idÚperm_parent_idzcmf_import.idzcmf_access_list.idzcmf_project.idÚix_cmf_export_cmf_author_id)ÚuniqueÚix_cmf_export_cmf_created_atÚix_cmf_export_cmf_deletedÚix_cmf_export_cmf_import_idÚix_cmf_export_cmf_locked_atÚix_cmf_export_cmf_locked_by_idÚix_cmf_export_cmf_modified_atÚ ix_cmf_export_cmf_modified_by_idÚix_cmf_export_cmf_owner_idÚix_cmf_export_cmf_versionÚix_cmf_export_cmf_viewed_atÚix_cmf_export_codeÚix_cmf_export_nameÚix_cmf_export_ordernoÚix_cmf_export_parent_idÚix_cmf_export_perm_acl_idÚix_cmf_export_perm_parent_idÚix_cmf_export_project_idÚix_cmf_export_root_parent_idÚix_cmf_export_tree_parent_id)r   Úcreate_tableÚsaÚColumnÚStringÚ	TIMESTAMPÚBooleanÚBIGINTÚTEXTÚIntegerÚForeignKeyConstraintÚPrimaryKeyConstraintÚcreate_indexÚf© rT   rT   ú4/opt/eva-app/alembic/versions/d9f6919d2961_export.pyÚupgrade   s‚    Õ-rV   c                   C   sž  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 )NrF   r   )Ú
table_namerE   rD   rC   rB   rA   r@   r?   r>   r=   r<   r;   r:   r9   r8   r7   r6   r5   r4   r2   )r   Ú
drop_indexrS   Ú
drop_tablerT   rT   rT   rU   Ú	downgradeY   s*    rZ   )Ú__doc__Úalembicr   Ú
sqlalchemyrH   ÚrevisionÚdown_revisionÚbranch_labelsÚ
depends_onrV   rZ   rT   rT   rT   rU   Ú<module>   s   F