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 )
zfsource hash

Revision ID: 67faf40c3112
Revises: b63ffcfd52f5
Create Date: 2023-02-22 08:23:58.435505

é    )ÚopNÚ67faf40c3112Úb63ffcfd52f5c                   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 ¡ 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 d¡¡ t j	t  
d¡ddgdd t j	t  
d¡dd
gdd t j	t  
d¡ddgdd t j	t  
d¡ddgdd t j	t  
d¡ddgdd t j	t  
d¡ddgdd t j	t  
d ¡ddgdd t j	t  
d!¡ddgdd t j	t  
d"¡ddgdd t j	t  
d#¡ddgdd t j	t  
d$¡ddgdd t  d%tjdtjdddd¡ d S )&NÚcmf_import_downloadÚidé@   )ÚlengthF)ÚnullableÚcmf_locked_atT)ÚtimezoneÚcmf_created_atÚcmf_modified_atÚcmf_viewed_atÚcmf_deletedÚcmf_versionÚ
downloadedÚhrefÚ
obj_ext_idÚsource_hashé    Úcmf_author_idÚcmf_owner_idÚ	parent_idÚcmf_modified_by_idÚcmf_locked_by_idÚ$ix_cmf_import_download_cmf_author_id)ÚuniqueÚ%ix_cmf_import_download_cmf_created_atÚ"ix_cmf_import_download_cmf_deletedÚ$ix_cmf_import_download_cmf_locked_atÚ'ix_cmf_import_download_cmf_locked_by_idÚ&ix_cmf_import_download_cmf_modified_atÚ)ix_cmf_import_download_cmf_modified_by_idÚ#ix_cmf_import_download_cmf_owner_idÚ"ix_cmf_import_download_cmf_versionÚ$ix_cmf_import_download_cmf_viewed_atÚ ix_cmf_import_download_parent_idÚ
cmf_plugin)r   Úcreate_tableÚsaÚColumnÚStringÚ	TIMESTAMPÚBooleanÚBIGINTÚPrimaryKeyConstraintÚcreate_indexÚfÚ
add_column© r3   r3   ú9/opt/eva-app/alembic/versions/67faf40c3112_source_hash.pyÚupgrade   s>    ïr5   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 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 )Nr'   r   r&   r   )Ú
table_namer%   r$   r#   r"   r!   r    r   r   r   r   )r   Údrop_columnÚ
drop_indexr1   Ú
drop_tabler3   r3   r3   r4   Ú	downgrade7   s    r:   )Ú__doc__Úalembicr   Ú
sqlalchemyr)   ÚrevisionÚdown_revisionÚbranch_labelsÚ
depends_onr5   r:   r3   r3   r3   r4   Ú<module>   s   $