cal.pub0.org/packages/prisma/migrations
Leo Giovanetti cb2225259c
Enabling workflows for managed events (#8446)
* Enabling workflows for managed events

* Disabling fields for workflow when readonly

* Disabling event type workflows if readonly

* Installing auth app

* Reverting yarn.lock

* Again reverting yarn

* Showing user workflows in managed event type

* Reusing existing code to show all workflows

* Further extending workflow support

* Added unit test

* Fixing workflow assignment

* Fixing locked workflows for children MET

* Update packages/features/ee/workflows/components/EventWorkflowsTab.tsx

Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>

* Personal workflows fix, matching count numbers

* Fixing menu items for managed event types

* Fixing type checks

* Fixing empty activeOn select

* Fixing unit test

* handling active workflows for MET

* Fixing MET slug nit

* Embed option in action restored for non-MET

* Correcting mobile view when hidden

* More adjustments

* fix sms reminder field for children

* remove console.log

---------

Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
Co-authored-by: CarinaWolli <wollencarina@gmail.com>
2023-05-15 13:56:26 +00:00
..
20210605225044_init Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210605225507_added_bookings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210606013704_made_booking_uid_unique Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210613133618_add_team_membership_verification Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615140247_added_selected_calendar Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615142134_added_custom_event_name Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615153546_added_buffer_time Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210615153759_add_email_verification_column Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210618140954_added_event_type_custom Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210628153550_password_reset_request Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210629160507_hide_branding Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210630014738_schedule_availability Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210709231256_add_user_theme Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210714151216_event_type_period_settings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210717120159_booking_confirmation Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210718184017_reminder_mails Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210722225431_minimum_booking_notice Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210725123357_add_location_to_booking Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210813142905_event_payment Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210813194355_add_slug_to_team Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210814175645_custom_inputs_type_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210820130519_add_placeholder_to_custom_event_types Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210824054220_add_bio_branding_logo_to_team Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210825004801_schedule_schema Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210830064354_add_unique_to_team_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902112455_event_type_unique_user_id_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902121313_user_plan Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210902125945_user_username_unique Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210904162403_add_booking_status_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908042159_teams_feature Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908220336_add_daily_data_table Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210908235519_undo_unique_user_id_slug Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210913211650_add_meeting_info Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210918013258_add_two_factor_fields Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210918152354_user_id_slug_fix Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210919174415_add_user_locale Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20210922004424_add_disable_guests_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211004231654_add_webhook_model Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211011152041_non_optionals Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211028233838_add_user_webhooks_relation Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211101151249_update_rejected_bookings Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211105200545_availability_start_and_end_time_as_time Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211106121119_add_event_type_position Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211110063531_add_custom_brand_color Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211110142845_add_identity_provider_columns Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211111013358_period_type_enum Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211112145539_add_saml_login Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211115182559_availability_issue Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211120211639_add_payload_template Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211207010154_add_destination_calendar Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211209201138_membership_admin_role Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211210182230_add_invited_to Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211217201940_upgrade_to_v3 Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211217215952_added_slot_interval_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211220192703_email_to_lowercase Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211222174947_placeholder Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211222181246_add_sc_address Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211228004752_adds_user_metadata Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20211231142312_add_user_on_delete_cascade Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220105104913_add_away_field Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220113145333_rename_column_sc_address_to_smart_contract_address Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220117193242_trial_users_by_default Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220121210720_add_cancellation_reason Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220125035907_add_attendee_locale Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220131170110_add_metadata_column_to_event_type Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220205135022_add_verified_column Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220209082843_add_rejection_reason Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
20220217093836_add_webhook_for_event Revert "Revert "Webhooks to support event type association"" (#2033) 2022-03-02 09:24:57 -07:00
20220228122419_add_time_format Let users set 12/24 hour time format (#2002) 2022-02-28 16:24:47 +00:00
20220302035831_add_before_and_after_event_buffer Set buffer time before/after event type (#2015) 2022-03-04 10:19:03 +00:00
20220302110201_add_dark_mode_brand_color Add "light-brand" and "dark-brand" colors (add a second color picker) (#2028) 2022-03-05 15:37:46 +00:00
20220303171305_adds_user_trial_ends_at Admin/team billing downgrader (#2040) 2022-03-03 19:29:19 +00:00
20220305233635_availability_schedules Feature/multiple schedules post turbo (#2150) 2022-03-17 09:48:23 -07:00
20220305233635_rename_indexes Add index rename migration (#2162) 2022-03-24 09:53:15 -07:00
20220306010113_renames_verification_request_to_verification_token Feature: Verify login on signup with magic link. (#2122) 2022-04-21 14:32:25 -06:00
20220323033335_reschedule_fields_to_bookings_table Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220323162642_events_hide_notes Feat - disable notes (#2249) 2022-03-28 18:07:13 +00:00
20220328185001_soft_delete_booking_references Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220330071743_add_dynamic_group_booking dynamic group links (#2239) 2022-04-06 10:20:30 -07:00
20220404132522_redirect_url Feature: Support redirecting to an external URL on successful booking (#2087) 2022-04-05 08:05:40 +00:00
20220409155714_impersonate_users Feat/impersonate users (#2503) 2022-04-26 14:18:17 +05:30
20220409195425_index_event_types_team_id_slug Uniquely index event-type with teamId and slug (#2452) 2022-04-19 18:35:12 -06:00
20220412172742_payment_on_delete_cascade Feature/reschedule bookings (#2351) 2022-04-14 15:25:24 -06:00
20220413002425_adds_api_keys Feature: Adds api keys to cal.com webapp (#2277) 2022-04-15 20:58:34 -06:00
20220413173832_add_seats_to_event_type_model Add seats to event types (#2485) 2022-05-24 15:19:12 +02:00
20220420152505_add_hashed_event_url Hash my url (#2484) 2022-04-28 09:44:26 -06:00
20220420230104_update_booking_id_constrain Feature: Verify login on signup with magic link. (#2122) 2022-04-21 14:32:25 -06:00
20220420230105_rename_verification_token_unique_id Feature: Verify login on signup with magic link. (#2122) 2022-04-21 14:32:25 -06:00
20220423022403_recurring_event Recurring Events (#2562) 2022-05-05 18:16:25 -03:00
20220423175732_added_next_auth_models Fix/login with provider (#2594) 2022-04-26 15:12:08 +00:00
20220502154345_adds_apps Migration seeder fixes 2022-05-02 16:02:45 -06:00
20220503183922_add_external_calendar_id_to_booking_reference Add Google cal extneral calendar id to booking reference (#2671) 2022-05-16 14:20:09 -06:00
20220503194835_adds_app_relation_to_webhook_and_api_keys Feat/zapier app (#2623) 2022-05-03 23:16:59 +00:00
20220511095513_add_custom_inputs_to_booking save additional inputs as json + view details of booking (#2796) 2022-05-18 15:05:49 -06:00
20220513151152_adds_feedback_table Redesign help menu item (#2710) 2022-05-24 13:29:39 +00:00
20220518201335_add_user_relationship_to_feedback Redesign help menu item (#2710) 2022-05-24 13:29:39 +00:00
20220525110759_add_user_impersonation_toggle Disable Impersonation Option (#2880) 2022-05-25 15:21:18 +00:00
20220525182228_cal_video_preinstalled Installed Apps page revamp (#2751) 2022-06-01 14:24:41 -03:00
20220526151550_cascades_impersonations_on_user_delete Cascades impersonations on user delete (#2891) 2022-05-26 15:48:02 +00:00
20220604144700_fixes_booking_status Booking confirm endpoint refactoring (#2949) 2022-06-06 10:54:47 -06:00
20220604210102_removes_booking_confirmed_rejected Booking confirm endpoint refactoring (#2949) 2022-06-06 10:54:47 -06:00
20220614090326_add_webhook_secret Webhook polishing (#2987) 2022-06-16 17:21:48 +01:00
20220616072241_app_routing_forms Routing Forms (#2785) 2022-07-14 12:40:53 +00:00
20220620181226_add_all_userid_to_users Hotfix/fix legacy user eventtypes (#3116) 2022-06-20 20:21:17 +00:00
20220622110735_allow_one_schedule_to_apply_to_multiple_event_types Migration query + Schedule->EventType to EventType->Schedule (#3140) 2022-06-22 09:43:25 -06:00
20220628184929_adds_missing_owner_relationship Upgrades prisma to v4 (#3179) 2022-07-20 12:49:53 -06:00
20220628190334_adds_missing_oncascades hotfix: bookings and availability pages 2022-07-26 18:45:10 -06:00
20220628191702_adds_default_date_to_feedback Upgrades prisma to v4 (#3179) 2022-07-20 12:49:53 -06:00
20220629151617_connect_destination_calendar_to_credential Attach credential id to destinationCalendar records (#3197) 2022-07-01 21:55:27 +01:00
20220711182928_add_workflows Workflows (#3236) 2022-07-14 00:10:45 +00:00
20220714175322_destination_calendar_one_to_many_bookings hotfix: bookings and availability pages 2022-07-26 18:45:10 -06:00
20220719110415_form_submitted_webhook Feature: Routing Forms Webhook for Form Responses (#3444) 2022-07-20 18:30:57 +00:00
20220719144253_disabled_impersonation_teams Team Impersonation (#3450) 2022-07-21 17:02:20 +00:00
20220721183745_ Adds missing migration 2022-07-21 16:12:10 -06:00
20220723001233_ Adds missing migration 2022-07-22 18:25:46 -06:00
20220728111440_add_created_at_form_response Feature: Routing Forms Typeform App and other improvements (#3625) 2022-08-13 11:04:57 +00:00
20220803090845_migrate_daily_event_reference_to_booking_reference refactor: use BookingReference instead of DailyEventReference (#3667) 2022-08-10 18:53:05 -06:00
20220803091114_drop_daily_event_reference refactor: use BookingReference instead of DailyEventReference (#3667) 2022-08-10 18:53:05 -06:00
20220811132430_add_unique_index_to_webhook prevent from save doubled subscriber url (#3811) 2022-08-31 03:41:23 +00:00
20220811234822_add_after_meeting_ends_trigger Zapier Trigger: After Meeting ends (#3827) 2022-08-15 20:18:41 +00:00
20220817201039_ fix/auto-connect-calendar-3582 (#3891) 2022-08-22 19:34:28 +00:00
20220827082641_reschedule_workflow_trigger_added feat: reschedule workflow added (#3996) 2022-08-31 23:09:34 +00:00
20220912134714_add_automation_category Add automation category and move zapier and n8n to it (#4410) 2022-09-15 08:16:56 +00:00
20220913034937_move_n8n_zapier_to_automation_category Add automation category and move zapier and n8n to it (#4410) 2022-09-15 08:16:56 +00:00
20220914215052_convert_pro_plan_to_free Latest tweaks (#4482) 2022-09-15 09:33:34 +00:00
20220917042621_rename_routing_forms_slug Routing Forms Improvements - Rename routing_forms to routing-forms (#4546) 2022-09-22 22:53:43 +05:30
20220917201512_revert_convert_pro_plan_to_free Removing update table user plan (#4551) 2022-09-17 20:29:06 +00:00
20220926105434_add_booking_limit Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
20220929132137_add_seats_hide_attendees Hide other attendees on event types with seats (#4766) 2022-10-18 13:41:50 -06:00
20221006044939_routing_form_type_migration Routing Forms Type nigration (#4861) 2022-10-06 12:21:04 +00:00
20221006121954_add_after_event_ends_workflow_trigger Add 'after event ends' trigger to workflows (#4882) 2022-10-07 12:18:28 -06:00
20221006133952_add_analytics_category Introduce EventTypeAppCard in app-store and make it super easy to add it through CLI - Also adds Fathom app (#4727) 2022-10-14 10:24:43 -06:00
20221007112203_add_email_address_workflow_action Add new workflow action: Send email to specific email address (#4929) 2022-10-10 13:40:20 +00:00
20221011001632_make_team_name_slug_required Makes team names and slug required 2022-10-10 18:28:48 -06:00
20221011012344_add_membership_cascade If a team is deleted, it cascades to memberships 2022-10-10 19:24:46 -06:00
20221017115710_add_number_required_to_workflow_step Add checkbox that defines if SMS reminder phone number should be required (#5047) 2022-10-18 12:47:15 +00:00
20221017205314_add_invalid_field_credential_table Feature/invalid credentials (#5120) 2022-10-31 22:06:03 +00:00
20221028093727_add_routing_form_settings Send Email to Owner on Form Submission (#5261) 2022-11-03 20:10:03 +05:30
20221107201132_add_team_subscription_cols Team billing (#5453) 2022-11-10 13:23:56 -07:00
20221110164757_add_sender_to_workflow_step Add alphanumeric sender ID to SMS workflow actions (#5471) 2022-11-11 15:01:17 +00:00
20221111152547_add_enabled_col_to_apps Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00
20221121115813_ feat: adding custom field of type PHONE (#5623) 2022-12-16 12:39:41 -07:00
20221129112344_adding_radio_custom_input 5444 cal 339 radio option in additional questions on public booking page (#5804) 2022-12-01 21:53:52 +00:00
20221129125935_add_metadata_to_booking Save meeting url to metadata of bookings and add it to webhook payload (#5773) 2022-12-15 21:43:07 +00:00
20221201191836_credential_invalid_col_default_false Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00
20221206152547_set_enabled_to_current_apps Admin apps UI (#5494) 2022-12-07 14:47:02 -07:00
20221208221811_remove_user_plan Deprecates user plan (#5942) 2022-12-08 16:20:24 -07:00
20221214210020_set_seats_show_attendees_to_default_false Set seatsShowAttendees to false (#6025) 2022-12-19 14:12:18 +00:00
20221215120525_add_verified_numbers Feat/verify phone number (#6035) 2022-12-15 21:54:40 +00:00
20230105203125_add_hide_book_a_team_member feat: update team schema, update team query (#6294) 2023-01-06 10:55:57 +00:00
20230105212846_add_availability_schedule_indexes Adds availablity and schedule indexes (#6296) 2023-01-05 22:29:03 +00:00
20230111183922_add_host_relation Feature/fixed hosts (#6423) 2023-01-12 14:09:12 -07:00
20230124154235_add_booking_fields Feature/ Manage Booking Questions (#6560) 2023-03-02 11:15:28 -07:00
20230125175109_remove_type_from_payment_and_add_app_relationship feat/payment-service-6438-cal-767 (#6677) 2023-02-08 13:36:22 -07:00
20230125182832_add_deployment Adds deployment settings to DB (#6706) 2023-01-26 13:36:15 -07:00
20230129094557_add_recording_exist feat: add isRecordingExist field and create api handler (#6777) 2023-04-13 19:07:10 +00:00
20230131062229_add_theme_and_brand_colors_for_teams feat: add theming options to teams (#6807) 2023-02-01 19:27:26 +01:00
20230210132534_add_workflows_to_teams Team Workflows (#7038) 2023-02-27 12:54:43 +05:30
20230210182245_add_verified_numbers_to_team Team Workflows (#7038) 2023-02-27 12:54:43 +05:30
20230214083325_add_duration_limits [CAL-988] Limit total appointment time per day/week/month/year (#7166) 2023-03-10 21:00:19 +01:00
20230216134219_managed_events Managed event-types (#6876) 2023-04-12 23:10:23 -03:00
20230216171757_host_user_id_event_type_id Bugfix/improved assignment page (#7165) 2023-03-08 15:04:33 -07:00
20230217230604_add_cancelled_to_workflow_reminder Fixes that workflow reminders of cancelled and rescheduled bookings are still sent (#7232) 2023-02-20 12:40:08 -05:00
20230222152136_assign_event_type_ownership Remove event type dupes, assign ownership based on existing _user_eventtype.'B' (#7284) 2023-03-15 15:35:54 +00:00
20230303162003_add_booking_seat_reference Seated booking rescheduling. (#5427) 2023-03-14 04:19:05 +00:00
20230303195431_add_feature_flags Adds basic global feature flags (#7459) 2023-03-24 17:59:04 -07:00
20230303195432_add_feature_flag_default_values Adds basic global feature flags (#7459) 2023-03-24 17:59:04 -07:00
20230309203435_make_booking_and_workflow_step_optional_for_workflow_reminder Delay workflow email cancellation in sendgrid for all case (#7647) 2023-03-10 14:28:42 +00:00
20230328204152_add_selected_slots_table Feature: Reserve slots currently being booked (#6909) 2023-04-13 19:55:26 +00:00
20230329000000_add_insights_feature_flag insights follow up (#7922) 2023-03-28 16:24:57 -07:00
20230330030031_add_payment_option Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
20230404100155_remove_reminder_body_email_subject_from_reminder_template Allow editing workflow templates (#8028) 2023-04-18 11:08:09 +01:00
20230404202721_add_feature_flag_managed_event_types Managed event-types (#6876) 2023-04-12 23:10:23 -03:00
20230410234751_add_foreign_key_indexes chore: add database indexes (#8361) 2023-04-18 16:50:42 -07:00
20230412094052_fix_apps app store fixes (#8224) 2023-04-12 11:40:53 +00:00
20230414112451_add_recording_ready feat: add RECORDING_READY webhook (#8277) 2023-05-10 14:56:31 +00:00
20230417102118_app_logo_subdomain Feat/subdomain logochanges (#8264) 2023-04-19 13:55:40 -07:00
20230418002117_booking_time_status Fix/insights load speed (#8364) 2023-04-19 20:14:09 +00:00
20230428142539_event_type_workflow_uniqueness Enabling workflows for managed events (#8446) 2023-05-15 13:56:26 +00:00
migration_lock.toml Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00