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 )zcCalendar

Revision ID: 0ef2b0f66d93
Revises: fcf70e352ad6
Create Date: 2023-08-17 16:26:20.979974

é    )ÚopN)Ú
postgresqlÚ0ef2b0f66d93Úfcf70e352ad6c                ?   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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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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  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  d1t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d2tjd3dddtjd4tjddddtjd5t ¡ ddtjd6t 
¡ ddtjd7t ¡ ddtjd8t 
¡ ddtjd9t ¡ 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dAt ¡ ddtjdBt ¡ ddtjdCtjddddtjdDtjddddtjdEtjddddtjdFt 
¡ ddtjdGt ¡ ddtjdHtjddddtjdIt ¡ ddtjdJt ¡ ddtjdKt 	¡ ddtjdLtjddddtjdMt 	¡ 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dNtjdd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 dNgdSg¡t dgdg¡t dQgdTg¡t d¡¡1 t jt  dU¡d1dgdd t jt  dV¡d1d
gdd t jt  dW¡d1dgdd t jt  dX¡d1dNgdd t jt  dY¡d1dgdd t jt  dZ¡d1dgdd t jt  d[¡d1dgdd t jt  d\¡d1dgdd t jt  d]¡d1dgdd t jt  d^¡d1dgdd t jt  d_¡d1dgdd t jt  d`¡d1d4gdd t jt  da¡d1d2gdd t jt  db¡d1d?gdd t jt  dc¡d1dgdd t jt  dd¡d1dQgdd t jt  de¡d1dRgdd t jt  df¡d1dPgdd t jt  dg¡d1dOgdd t  dht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d2tjd3dddtjd4tjddddtjd5t ¡ ddtjd6t 
¡ ddtjd7t ¡ ddtjd8t 
¡ ddtjd9t ¡ 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dAt ¡ ddtjdBt ¡ ddtjdCtjddddtjdDtjddddtjdEtjddddtjdFt 
¡ ddtjdGt ¡ ddtjdit ¡ ddtjdjt ¡ ddtjdkt 	¡ 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dNtjdd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 dNgdSg¡t dgdlg¡t dQgdTg¡t d¡¡. t jt  dm¡dhdgdd t jt  dn¡dhd
gdd t jt  do¡dhdgdd t jt  dp¡dhdNgdd t jt  dq¡dhdgdd t jt  dr¡dhdgdd t jt  ds¡dhdgdd t jt  dt¡dhdgdd t jt  du¡dhdgdd t jt  dv¡dhdgdd t jt  dw¡dhdgdd t jt  dx¡dhd4gdd t jt  dy¡dhd2gdd t jt  dz¡dhd?gdd t jt  d{¡dhdgdd t jt  d|¡dhdQgdd t jt  d}¡dhdRgdd t jt  d~¡dhdPgdd t jt  d¡dhdOgdd 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d2tjd3dddtjd4tjddddtjd5t ¡ ddtjd6t 
¡ ddtjd7t ¡ ddtjd8t 
¡ ddtjd9t ¡ 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dAt ¡ ddtjdBt ¡ ddtjdCtjddddtjdDtjddddtjdEtjddddtjdFt 
¡ ddtjdGt ¡ ddtjdIt ¡ ddtjdJt ¡ ddtjdt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 	¡ ddtjdŠt 	¡ ddtjd‹t 	¡ ddtjdŒt 	¡ ddtjdt 	¡ 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dNtjdd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 dNgdSg¡t dgdg¡t dQgdTg¡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€dNg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€d4gdd t jt  d›¡d€d2g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€dQgdd t jt  dŸ¡d€dRgdd t jt  d ¡d€dPgdd t jt  d¡¡d€dOgdd 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d2tjd3dddtjd4tjddddtjd5t ¡ ddtjd6t 
¡ ddtjd7t ¡ ddtjd8t 
¡ ddtjd9t ¡ 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dAt ¡ ddtjdBt ¡ ddtjdCtjddddtjdDtjddddtjdEtjddddtjdFt 
¡ ddtjdGt ¡ ddtjdt 	¡ ddtjdit ¡ ddtjdjt ¡ ddtjdkt 	¡ 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dNtjdd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 dNgdSg¡t dgd£g¡t dQgdTg¡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¢dNg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¢d4gdd t jt  d°¡d¢d2g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¢dQgdd t jt  d´¡d¢dRgdd t jt  dµ¡d¢dPgdd t jt  d¶¡d¢dOgdd t jd·d¸d¹ t jdºd¸d¹ t jd»d¸d¹ t jd¼d¸d¹ t jd½d¸d¹ t jd¾d¸d¹ t jd¿d¸d¹ t jdÀd¸d¹ t jdÁd¸d¹ t jdÂd¸d¹ t jdÃd¸d¹ t jdÄd¸d¹ t jdÅd¸d¹ t jdÆd¸d¹ t jdÇd¸d¹ t jdÈd¸d¹ t jdÉd¸d¹ t jdÊd¸d¹ t jdËd¸d¹ t  d¸¡ t jdÌdÍd¹ t jdÎdÍd¹ t jdÏdÍd¹ t jdÐdÍd¹ t jdÑdÍd¹ t jdÒdÍd¹ t jdÓdÍd¹ t jdÔdÍd¹ t jdÕdÍd¹ t jdÖdÍd¹ t jd×dÍd¹ t jdØdÍd¹ t jdÙdÍd¹ t jdÚdÍd¹ t jdÛdÍd¹ t jdÜdÍd¹ t jdÝdÍd¹ t jdÞdÍd¹ t jdßdÍd¹ t  dÍ¡ t  dàtjdát 	¡ dd¡ t  dàtjdâtjdddd¡ t  dàtjdãtjdddd¡ t jt  dä¡dàdãgdd t jt  då¡dàdâgdd t  d dàd€dãgdg¡ t  d dàdàdâgdg¡ t  dætjdçtjdddd¡ t jt  dè¡dædçgdd t  d dædàdçgdg¡ t  détjdêtjdddd¡ t jt  dë¡dédêgdd t  d dédàdêgdg¡ d S )ìNÚcmf_calendar_dayÚidé@   ©ÚlengthF)ÚnullableÚcmf_locked_atT©ÚtimezoneÚcmf_created_atÚcmf_modified_atÚcmf_viewed_atÚcmf_deletedÚcmf_versionÚdateÚday_typeé    Úday_weekÚyearÚmonthÚdayÚinterval_total_minutesÚinterval_jsonÚcmf_author_idÚcmf_owner_idÚ	parent_idÚcmf_modified_by_idÚcmf_locked_by_idúcmf_calendar.idÚ!ix_cmf_calendar_day_cmf_author_id©ÚuniqueÚ"ix_cmf_calendar_day_cmf_created_atÚix_cmf_calendar_day_cmf_deletedÚ!ix_cmf_calendar_day_cmf_locked_atÚ$ix_cmf_calendar_day_cmf_locked_by_idÚ#ix_cmf_calendar_day_cmf_modified_atÚ&ix_cmf_calendar_day_cmf_modified_by_idÚ ix_cmf_calendar_day_cmf_owner_idÚix_cmf_calendar_day_cmf_versionÚ!ix_cmf_calendar_day_cmf_viewed_atÚix_cmf_calendar_day_dateÚix_cmf_calendar_day_dayÚix_cmf_calendar_day_day_typeÚix_cmf_calendar_day_day_weekÚ*ix_cmf_calendar_day_interval_total_minutesÚix_cmf_calendar_day_monthÚix_cmf_calendar_day_parent_idÚix_cmf_calendar_day_yearÚcmf_calendar_excludeÚ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Úexclude_typeÚperiod_start_dateÚperiod_end_dateÚrepeat_timesÚrepeat_typeÚintervals_total_minutesÚcmf_import_idÚtree_parent_idÚroot_parent_idÚperm_acl_idÚperm_parent_idúcmf_import.idúcmf_access_list.idÚ%ix_cmf_calendar_exclude_cmf_author_idÚ&ix_cmf_calendar_exclude_cmf_created_atÚ#ix_cmf_calendar_exclude_cmf_deletedÚ%ix_cmf_calendar_exclude_cmf_import_idÚ%ix_cmf_calendar_exclude_cmf_locked_atÚ(ix_cmf_calendar_exclude_cmf_locked_by_idÚ'ix_cmf_calendar_exclude_cmf_modified_atÚ*ix_cmf_calendar_exclude_cmf_modified_by_idÚ$ix_cmf_calendar_exclude_cmf_owner_idÚ#ix_cmf_calendar_exclude_cmf_versionÚ%ix_cmf_calendar_exclude_cmf_viewed_atÚix_cmf_calendar_exclude_codeÚix_cmf_calendar_exclude_nameÚix_cmf_calendar_exclude_ordernoÚ!ix_cmf_calendar_exclude_parent_idÚ#ix_cmf_calendar_exclude_perm_acl_idÚ&ix_cmf_calendar_exclude_perm_parent_idÚ&ix_cmf_calendar_exclude_root_parent_idÚ&ix_cmf_calendar_exclude_tree_parent_idÚcmf_calendar_exclude_intervalÚ	from_timeÚto_timeÚinterval_minuteszcmf_calendar_exclude.idÚ.ix_cmf_calendar_exclude_interval_cmf_author_idÚ/ix_cmf_calendar_exclude_interval_cmf_created_atÚ,ix_cmf_calendar_exclude_interval_cmf_deletedÚ.ix_cmf_calendar_exclude_interval_cmf_import_idÚ.ix_cmf_calendar_exclude_interval_cmf_locked_atÚ1ix_cmf_calendar_exclude_interval_cmf_locked_by_idÚ0ix_cmf_calendar_exclude_interval_cmf_modified_atÚ3ix_cmf_calendar_exclude_interval_cmf_modified_by_idÚ-ix_cmf_calendar_exclude_interval_cmf_owner_idÚ,ix_cmf_calendar_exclude_interval_cmf_versionÚ.ix_cmf_calendar_exclude_interval_cmf_viewed_atÚ%ix_cmf_calendar_exclude_interval_codeÚ%ix_cmf_calendar_exclude_interval_nameÚ(ix_cmf_calendar_exclude_interval_ordernoÚ*ix_cmf_calendar_exclude_interval_parent_idÚ,ix_cmf_calendar_exclude_interval_perm_acl_idÚ/ix_cmf_calendar_exclude_interval_perm_parent_idÚ/ix_cmf_calendar_exclude_interval_root_parent_idÚ/ix_cmf_calendar_exclude_interval_tree_parent_idÚcmf_calendar_work_weekÚ	day0_typeÚ	day1_typeÚ	day2_typeÚ	day3_typeÚ	day4_typeÚ	day5_typeÚ	day6_typeÚday0_intervals_total_minutesÚday1_intervals_total_minutesÚday2_intervals_total_minutesÚday3_intervals_total_minutesÚday4_intervals_total_minutesÚday5_intervals_total_minutesÚday6_intervals_total_minutesÚ'ix_cmf_calendar_work_week_cmf_author_idÚ(ix_cmf_calendar_work_week_cmf_created_atÚ%ix_cmf_calendar_work_week_cmf_deletedÚ'ix_cmf_calendar_work_week_cmf_import_idÚ'ix_cmf_calendar_work_week_cmf_locked_atÚ*ix_cmf_calendar_work_week_cmf_locked_by_idÚ)ix_cmf_calendar_work_week_cmf_modified_atÚ,ix_cmf_calendar_work_week_cmf_modified_by_idÚ&ix_cmf_calendar_work_week_cmf_owner_idÚ%ix_cmf_calendar_work_week_cmf_versionÚ'ix_cmf_calendar_work_week_cmf_viewed_atÚix_cmf_calendar_work_week_codeÚix_cmf_calendar_work_week_nameÚ!ix_cmf_calendar_work_week_ordernoÚ#ix_cmf_calendar_work_week_parent_idÚ%ix_cmf_calendar_work_week_perm_acl_idÚ(ix_cmf_calendar_work_week_perm_parent_idÚ(ix_cmf_calendar_work_week_root_parent_idÚ(ix_cmf_calendar_work_week_tree_parent_idÚcmf_calendar_work_week_intervalzcmf_calendar_work_week.idÚ0ix_cmf_calendar_work_week_interval_cmf_author_idÚ1ix_cmf_calendar_work_week_interval_cmf_created_atÚ.ix_cmf_calendar_work_week_interval_cmf_deletedÚ0ix_cmf_calendar_work_week_interval_cmf_import_idÚ0ix_cmf_calendar_work_week_interval_cmf_locked_atÚ3ix_cmf_calendar_work_week_interval_cmf_locked_by_idÚ2ix_cmf_calendar_work_week_interval_cmf_modified_atÚ5ix_cmf_calendar_work_week_interval_cmf_modified_by_idÚ/ix_cmf_calendar_work_week_interval_cmf_owner_idÚ.ix_cmf_calendar_work_week_interval_cmf_versionÚ0ix_cmf_calendar_work_week_interval_cmf_viewed_atÚ'ix_cmf_calendar_work_week_interval_codeÚ'ix_cmf_calendar_work_week_interval_nameÚ*ix_cmf_calendar_work_week_interval_ordernoÚ,ix_cmf_calendar_work_week_interval_parent_idÚ.ix_cmf_calendar_work_week_interval_perm_acl_idÚ1ix_cmf_calendar_work_week_interval_perm_parent_idÚ1ix_cmf_calendar_work_week_interval_root_parent_idÚ1ix_cmf_calendar_work_week_interval_tree_parent_idÚ'ix_cmf_calendar_exception_cmf_author_idÚcmf_calendar_exception©Ú
table_nameÚ(ix_cmf_calendar_exception_cmf_created_atÚ%ix_cmf_calendar_exception_cmf_deletedÚ'ix_cmf_calendar_exception_cmf_import_idÚ'ix_cmf_calendar_exception_cmf_locked_atÚ*ix_cmf_calendar_exception_cmf_locked_by_idÚ)ix_cmf_calendar_exception_cmf_modified_atÚ,ix_cmf_calendar_exception_cmf_modified_by_idÚ&ix_cmf_calendar_exception_cmf_owner_idÚ%ix_cmf_calendar_exception_cmf_versionÚ'ix_cmf_calendar_exception_cmf_viewed_atÚix_cmf_calendar_exception_codeÚix_cmf_calendar_exception_nameÚ!ix_cmf_calendar_exception_ordernoÚ#ix_cmf_calendar_exception_parent_idÚ%ix_cmf_calendar_exception_perm_acl_idÚ(ix_cmf_calendar_exception_perm_parent_idÚ(ix_cmf_calendar_exception_root_parent_idÚ(ix_cmf_calendar_exception_tree_parent_idÚ%ix_cmf_calendar_workday_cmf_author_idÚcmf_calendar_workdayÚ&ix_cmf_calendar_workday_cmf_created_atÚ#ix_cmf_calendar_workday_cmf_deletedÚ%ix_cmf_calendar_workday_cmf_import_idÚ%ix_cmf_calendar_workday_cmf_locked_atÚ(ix_cmf_calendar_workday_cmf_locked_by_idÚ'ix_cmf_calendar_workday_cmf_modified_atÚ*ix_cmf_calendar_workday_cmf_modified_by_idÚ$ix_cmf_calendar_workday_cmf_owner_idÚ#ix_cmf_calendar_workday_cmf_versionÚ%ix_cmf_calendar_workday_cmf_viewed_atÚix_cmf_calendar_workday_codeÚix_cmf_calendar_workday_nameÚix_cmf_calendar_workday_ordernoÚ!ix_cmf_calendar_workday_parent_idÚ#ix_cmf_calendar_workday_perm_acl_idÚ&ix_cmf_calendar_workday_perm_parent_idÚ&ix_cmf_calendar_workday_root_parent_idÚ&ix_cmf_calendar_workday_tree_parent_idÚcmf_calendarr   Úparent_calendar_idÚdefault_workweek_idÚ#ix_cmf_calendar_default_workweek_idÚ"ix_cmf_calendar_parent_calendar_idÚcmf_global_settingsÚdefault_calendar_idÚ*ix_cmf_global_settings_default_calendar_idÚcmf_projectÚcalendar_idÚix_cmf_project_calendar_id)r   Úcreate_tableÚsaÚColumnÚStringÚ	TIMESTAMPÚBooleanÚBIGINTÚDATEÚIntegerÚTEXTÚForeignKeyConstraintÚPrimaryKeyConstraintÚcreate_indexÚfÚTimeÚ
drop_indexÚ
drop_tableÚ
add_columnÚcreate_foreign_key© r  r  ú6/opt/eva-app/alembic/versions/0ef2b0f66d93_calendar.pyÚupgrade   sð   êÐ2Ó/Æ<Ò0

    r  c                5   C   s^  t jd ddd t jt  d¡dd t  dd¡ t jd ddd t jt  d¡dd t  dd	¡ t jd d
dd t jd d
dd t jt  d¡d
d t jt  d¡d
d t  d
d¡ t  d
d¡ t  d
d¡ t  dtjdtjdddddtjdt	j
dddddtjdt	j
dddddtjdt	j
dddddtjdt	j
dddddtjdt ¡ dddtjdt ¡ dddtjdtjdddddtjd tjdddddtjd!t ¡ dddtjd"t ¡ dddtjd#t ¡ dddtjd$t ¡ dddtjd%t ¡ dddtjd&t ¡ dddtjd't ¡ dddtjd(t ¡ dddtjd)t ¡ dddtjd*t ¡ dddtjd+t ¡ dddtjd,t ¡ dddtjd-t ¡ dddtjd.tjdddddtjd/tjdddddtjd0tjdddddtjd1t ¡ dddtjd2tjd3ddddtjd4t	 ¡ dddtjd5t	 ¡ dddtjd6t ¡ dddtjd7t ¡ dddtjd8tjdddddtjd9tjdddddtjd:tjdddddtjd;tjdddddtjd<tjdddddtjd=tjdddddtjd>tjdddddtjd?tjdddddtjd@tjdddddtjdAtjdddddtjdBt ¡ dddtjdCt ¡ t dD¡dddEtjd=gdFgdGdHtjd:gdIgdJdHtjd@gdKgdLdHtjddMdH¡0 t jdNdd>gddO t jdPdd?gddO t jdQddAgddO t jdRdd@gddO t jdSdd:gddO t jdTdd*gddO t jdUddgddO t jdVdd gddO t jdWddgddO t jdXddgddO t jdYdd9gddO t jdZdd;gddO t jd[ddgddO t jd\dd<gddO t jd]ddgddO t jd^dd=gddO t jd_ddgddO t jd`ddgddO t jdadd8gddO t  dbtjdtjdddddtjdt	j
dddddtjdt	j
dddddtjdt	j
dddddtjdt	j
dddddtjdt ¡ dddtjdt ¡ dddtjdtjdddddtjd tjdddddtjd!t ¡ dddtjd"t ¡ dddtjd#t ¡ dddtjd$t ¡ dddtjd%t ¡ dddtjd&t ¡ dddtjd't ¡ dddtjd(t ¡ dddtjd)t ¡ dddtjd*t ¡ dddtjd+t ¡ dddtjd,t ¡ dddtjd-t ¡ dddtjd.tjdddddtjd/tjdddddtjd0tjdddddtjd1t ¡ dddtjdctjd3ddddtjddtjd3ddddtjdet ¡ dddtjd6t ¡ dddtjd7t ¡ dddtjd8tjdddddtjd9tjdddddtjd:tjdddddtjd;tjdddddtjd<tjdddddtjd=tjdddddtjd>tjdddddtjd?tjdddddtjd@tjdddddtjdAtjdddddtjdBt ¡ dddtjdCt ¡ t dD¡dddEtjd=gdFgdfdHtjd:gdIgdgdHtjd@gdKgdhdHtjddidH¡0 t jdjdbd>gddO t jdkdbd?gddO t jdldbdAgddO t jdmdbd@gddO t jdndbd:gddO t jdodbd*gddO t jdpdbdgddO t jdqdbd gddO t jdrdbdgddO t jdsdbdgddO t jdtdbd9gddO t jdudbd;gddO t jdvdbdgddO t jdwdbd<gddO t jdxdbdgddO t jdydbd=gddO t jdzdbdgddO t jd{dbdgddO t jd|dbd8gddO 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~¡ 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’¡ 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¦¡ 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º¡ 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 )àNrí   Ú
foreignkey)Útype_rï   r½   rî   rê   rì   rë   rå   ré   rè   rç   ræ   r   rÒ   r   r   r	   F)Úautoincrementr   r   Tr   r   r   r   r   r   r8   r9   r:   r;   r<   r=   r>   r?   rA   rB   rC   rD   rE   rF   rG   rH   rI   rJ   rK   rM   Úweekdayr   ro   rp   Ú
start_dateÚend_dater   r   r   r    r!   rT   rU   rV   rW   rX   rL   r@   Úfalse)Úserver_defaultr  r   rY   Z'cmf_calendar_workday_cmf_import_id_fkey)r8   r"   Z#cmf_calendar_workday_parent_id_fkeyrZ   Z%cmf_calendar_workday_perm_acl_id_fkeyZcmf_calendar_workday_pkeyrä   r$   rã   râ   rá   rà   rß   rÞ   rÝ   rÜ   rÛ   rÚ   rÙ   rØ   r×   rÖ   rÕ   rÔ   rÓ   rÑ   r¼   Úexception_typeÚrepeatr   Z)cmf_calendar_exception_cmf_import_id_fkeyZ%cmf_calendar_exception_parent_id_fkeyZ'cmf_calendar_exception_perm_acl_id_fkeyZcmf_calendar_exception_pkeyrÐ   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¦   r…   r¥   r¤   r£   r¢   r¡   r    rŸ   rž   r   rœ   r›   rš   r™   r˜   r—   r–   r•   r”   r„   rn   rƒ   r‚   r   r€   r   r~   r}   r|   r{   rz   ry   rx   rw   rv   ru   rt   rs   rr   rm   r7   rl   rk   rj   ri   rh   rg   rf   re   rd   rc   rb   ra   r`   r_   r^   r]   r\   r[   r6   r   r5   r4   r3   r2   r1   r0   r/   r.   r-   r,   r+   r*   r)   r(   r'   r&   r#   )r   Údrop_constraintrÿ   rý   Údrop_columnrð   rñ   rò   ÚVARCHARr   rô   ÚBOOLEANrö   rù   ÚINTEGERÚTIMEr÷   r<   rú   rû   rü   r   r  r  r  r  Ú	downgrade  sð   Ñ1Ñ1



r  )Ú__doc__Úalembicr   Ú
sqlalchemyrñ   Zsqlalchemy.dialectsr   ÚrevisionÚdown_revisionÚbranch_labelsÚ
depends_onr  r  r  r  r  r  Ú<module>   s       