activity.upgrade

Contains upgrade tasks that are executed when the application is being upgraded on the server. See onegov.core.upgrade.upgrade_task.

Functions

rebuild_bookings(→ None)

add_period_id_to_bookings(→ None)

change_booking_states(→ None)

add_confirmed_flag_to_period(→ None)

add_data_column_to_period(→ None)

add_attendee_count_column_to_occasion(→ None)

add_finalized_flag_to_period(→ None)

add_payment_model_columns(→ None)

add_cancelled_flag_to_occasion(→ None)

add_code_field_to_invoice_items(→ None)

add_source_field_to_invoice_items(→ None)

add_gender_notes_fields_to_attendees(→ None)

support_multiple_dates_per_occasion(→ None)

adds_minutes_between_to_period(→ None)

adds_exclude_from_overlap_check_to_period(→ None)

adds_deadlines_to_period(→ None)

adds_limit_to_attendee(→ None)

introduce_location_meeting_point(→ None)

add_active_days(→ None)

add_active_days_index(→ None)

remove_denied_activity_state(→ None)

add_weekdays(→ None)

add_weekdays_index(→ None)

extract_thumbnails(→ None)

retroactively_create_publication_requests(→ None)

add_archived_flag_to_period(→ None)

add_municipality_column_to_activites(→ None)

add_family_to_invoice_items(→ None)

add_subscription(→ None)

add_alignment(→ None)

update_duration_categories(→ None)

rename_occasion_durations_to_the_singular(→ None)

add_pay_organiser_directly_column(→ None)

remove_activity_aggregates(→ None)

add_invoices(→ None)

add_invoice_references(→ None)

add_invoice_reference_bucket(→ None)

adds_cancellation_deadlines_to_period(→ None)

make_group_code_nullable(→ None)

adds_exempt_from_booking_limit_to_occasion(→ None)

adds_score_to_bookings(→ None)

drop_occasion_active_column(→ None)

add_age_barrier_type(→ None)

add_booking_phase_dates(→ None)

add_confirmable_and_finalizable_columns(→ None)

improve_period_dates_constraint(→ None)

drop_deadline_date(→ None)

book_finalized(→ None)

add_occasion_booking_cost(→ None)

add_seeking_volunteers_column(→ None)

add_occasion_need_public_toggle(→ None)

add_invoice_item_payment_date(→ None)

make_activity_polymorphic_type_non_nullable(→ None)

cleanup_activity_aggregates(→ None)

add__differing_attendee_address(→ None)

add_invoice_item_organizer(→ None)

add_attendee_id_to_invoice_item(→ None)

fill_in_attendee_ids_1(→ None)

Module Contents

activity.upgrade.rebuild_bookings(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_period_id_to_bookings(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.change_booking_states(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_confirmed_flag_to_period(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_data_column_to_period(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_attendee_count_column_to_occasion(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_finalized_flag_to_period(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_payment_model_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_cancelled_flag_to_occasion(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_code_field_to_invoice_items(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_source_field_to_invoice_items(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_gender_notes_fields_to_attendees(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.support_multiple_dates_per_occasion(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.adds_minutes_between_to_period(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.adds_exclude_from_overlap_check_to_period(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.adds_deadlines_to_period(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.adds_limit_to_attendee(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.introduce_location_meeting_point(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_active_days(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_active_days_index(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.remove_denied_activity_state(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_weekdays(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_weekdays_index(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.extract_thumbnails(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.retroactively_create_publication_requests(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_archived_flag_to_period(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_municipality_column_to_activites(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_family_to_invoice_items(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_subscription(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_alignment(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.update_duration_categories(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.rename_occasion_durations_to_the_singular(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_pay_organiser_directly_column(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.remove_activity_aggregates(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_invoices(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_invoice_references(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_invoice_reference_bucket(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.adds_cancellation_deadlines_to_period(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.make_group_code_nullable(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.adds_exempt_from_booking_limit_to_occasion(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.adds_score_to_bookings(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.drop_occasion_active_column(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_age_barrier_type(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_booking_phase_dates(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_confirmable_and_finalizable_columns(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.improve_period_dates_constraint(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.drop_deadline_date(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.book_finalized(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_occasion_booking_cost(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_seeking_volunteers_column(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_occasion_need_public_toggle(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_invoice_item_payment_date(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.make_activity_polymorphic_type_non_nullable(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.cleanup_activity_aggregates(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add__differing_attendee_address(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_invoice_item_organizer(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.add_attendee_id_to_invoice_item(context: onegov.core.upgrade.UpgradeContext) None[source]
activity.upgrade.fill_in_attendee_ids_1(context: onegov.core.upgrade.UpgradeContext) None[source]