U
    \Úd  ã                   @   sH   d Z ddlmZ ddlZddlmZ dZdZdZ	dZ
dd„ Zd	d
„ ZdS )zecmf_secret

Revision ID: e060cf1803ff
Revises: e3875a6c974d
Create Date: 2021-08-16 17:47:50.046629

é    )ÚopN)Ú
postgresqlZe060cf1803ffZe3875a6c974dc                    C   s¸  t  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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 ¡ 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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jd#dddt dgd$g¡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  d0¡ddgdd& t jt  d1¡ddgdd& t jt  d2¡ddgdd& t jt  d3¡ddgdd& t jt  d4¡ddgdd& d S )5NÚ
cmf_secretZcache_last_commentsF)ÚnullableÚcmf_author_idé@   )ÚlengthTÚcmf_created_at)ÚtimezoneÚcmf_deletedÚcmf_import_idÚcmf_locked_atÚcmf_locked_by_idÚcmf_modified_atÚcmf_modified_by_idÚcmf_owner_assistant_idÚcmf_owner_idÚcmf_versionÚcmf_viewed_atÚcodeÚidÚipZloginÚnameé   Ú	parent_idÚpasswordÚsystemÚtextÚtokenÚtypeé    Úurli   zcmf_import.idÚix_cmf_secret_cmf_author_id)ÚuniqueÚix_cmf_secret_cmf_created_atÚix_cmf_secret_cmf_deletedÚix_cmf_secret_cmf_import_idÚix_cmf_secret_cmf_locked_atÚix_cmf_secret_cmf_locked_by_idÚix_cmf_secret_cmf_modified_atÚ ix_cmf_secret_cmf_modified_by_idÚ$ix_cmf_secret_cmf_owner_assistant_idÚix_cmf_secret_cmf_owner_idÚix_cmf_secret_cmf_versionÚix_cmf_secret_cmf_viewed_atÚix_cmf_secret_codeÚix_cmf_secret_nameÚix_cmf_secret_parent_id)r   Úcreate_tableÚsaÚColumnÚTEXTÚStringÚ	TIMESTAMPÚBooleanÚIntegerr   ÚINETÚForeignKeyConstraintÚPrimaryKeyConstraintÚcreate_indexÚf© r?   r?   ú8/opt/eva-app/alembic/versions/e060cf1803ff_cmf_secret.pyÚupgrade   sX    årA   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  d¡ d S )Nr1   r   )Ú
table_namer0   r/   r.   r-   r,   r+   r*   r)   r(   r'   r&   r%   r$   r"   )r   Ú
drop_indexr>   Ú
drop_tabler?   r?   r?   r@   Ú	downgradeD   s     rE   )Ú__doc__Úalembicr   Ú
sqlalchemyr3   Zsqlalchemy.dialectsr   ÚrevisionÚdown_revisionÚbranch_labelsÚ
depends_onrA   rE   r?   r?   r?   r@   Ú<module>   s   1