[pre_model_sync]
jcloude.patches.v0_0_1.site_history_to_site_activity
jcloude.patches.v0_0_1.user_account_to_team #6
jcloude.patches.v0_0_1.rename_transaction_currency_to_currency
jcloude.patches.v0_0_1.create_site_plan_change_log
execute:jingrow.reload_pg('jcloude', 'pagetype', 'team')
execute:jingrow.db.set_value('Team', {'enabled': 1}, {'free_credits_allocated': 1}, update_modified=False)
jcloude.patches.v0_0_1.update_proxy_for_suspended_and_inactive_sites
jcloude.patches.v0_0_1.rename_site_backup_fields # 2020-05-22
jcloude.patches.v0_0_1.rename_archived_sites
jcloude.patches.v0_0_1.create_backup_uploads_folder
jcloude.patches.v0_0_1.mark_deployed_app_releases_as_approved_and_deployable # 2020-22-06
jcloude.patches.v0_0_1.set_repository_in_jingrow_app # 2020-22-06
jcloude.patches.v0_0_1.make_apps_in_public_release_group_public
jcloude.patches.v0_0_1.set_host_name_for_sites_with_domains
jcloude.patches.v0_0_1.set_rate_limit_config_based_on_plan
jcloude.patches.v0_0_1.enable_partner_privileges
jcloude.patches.v0_0_1.set_remote_file_location
jcloude.patches.v0_0_1.track_offsite_backups_via_remote_files
jcloude.patches.v0_0_1.move_domains_from_archived_to_active_sites
jcloude.patches.v0_0_1.remove_domains_linked_to_archived_sites
jcloude.patches.v0_0_1.delete_logs_from_archived_sites
jcloude.patches.v0_0_1.add_domains_to_site_config
execute:jingrow.reload_pg('jcloude', 'pagetype', 'Remote File')
# jcloude.patches.v0_0_1.add_site_to_remote_file # 2020-11-12 run via run-patch command in active site state
jcloude.patches.v0_0_1.new_onboarding
jcloude.patches.v0_0_1.remove_obsolete_pagetypes
jcloude.patches.v0_0_1.make_default_site_domain
jcloude.patches.v0_0_1.update_site_config_pg
jcloude.patches.v0_0_1.create_certificate_authorities
jcloude.patches.v0_0_1.rename_columns_in_tls_certificate
jcloude.patches.v0_0_1.site_usage_convert_history
jcloude.patches.v0_0_1.set_document_type_in_plan
# Billing Refactor 3
# these will be run separately with the execute command, to avoid downtime
# jcloude.patches.v0_0_1.create_site_subscriptions
# jcloude.patches.v0_0_1.ple_to_usage_record
# jcloude.patches.v0_0_1.patch_invoice
# jcloude.patches.v0_0_1.create_balance_transactions_from_stripe
# Backups "refactor"
# jcloude.patches.v0_0_1.update_backups_availability
# Update transaction details in paid invoices
# jcloude.jcloude.pagetype.invoice.patches.set_transaction_details
jcloude.patches.v0_0_1.set_billing_name_for_teams
# App Subsystem Refactor
jcloude.patches.v0_0_1.rename_jingrow_app_to_app
jcloude.patches.v0_0_1.rename_release_group_jingrow_app_to_release_group_app
jcloude.patches.v0_0_1.set_hostname_in_server
jcloude.patches.v0_0_1.set_domain_in_site
jcloude.patches.v0_0_1.breakdown_site_usage_into_multiple_fields
jcloude.patches.v0_0_1.create_default_cluster
jcloude.patches.v0_0_1.set_app_title_from_custom_field
jcloude.patches.v0_0_1.set_release_group_version_and_title_from_custom_field
jcloude.patches.v0_0_1.rename_installed_app_to_bench_app
jcloude.patches.v0_0_1.rename_deploy_candidate_app_release_to_deploy_candidate_app
jcloude.patches.v0_0_1.create_app_source_from_app
jcloude.patches.v0_0_1.rename_release_groups
jcloude.patches.v0_0_1.create_app_release_difference_from_deploy_candidate_difference
jcloude.patches.v0_0_1.truncate_server_status_table
jcloude.patches.v0_0_1.set_marketplace_app_app_field_from_name
jcloude.patches.v0_0_1.rename_workers_to_background_workers
jcloude.patches.v0_0_1.set_release_in_bench_app
jcloude.patches.v0_0_1.set_app_title_in_deploy_candidate_app
jcloude.patches.v0_0_1.set_release_group_in_site
jcloude.patches.v0_0_1.set_public_field_in_app_release_based_on_app_source_public
jcloude.patches.v0_0_1.set_team_field_for_permission_checks
jcloude.patches.v0_0_1.set_team_field_in_tls_certificate_based_on_domain_team
jcloude.patches.v0_0_1.create_root_domain_from_jcloude_settings
jcloude.patches.v0_0_1.set_cluster_in_jcloude_settings
jcloude.patches.v0_0_1.remove_period_from_plan
jcloude.patches.v0_0_1.add_site_index_to_site_migration
jcloude.patches.v0_0_1.set_dependencies_in_release_group
jcloude.patches.v0_0_1.set_monitoring_password_in_cluster
jcloude.patches.v0_0_1.add_domains_in_site_config_preview
jcloude.patches.v0_0_1.use_private_ip_for_upstreams
jcloude.jcloude.pagetype.site.patches.set_plan_in_site
jcloude.jcloude.pagetype.app_release.patches.set_status_to_draft
jcloude.patches.v0_0_4.remove_legacy_billing_pagetypes
# jcloude.jcloude.pagetype.invoice.patches.set_free_credits # 2021-08-11 run via run-patch command
jcloude.jcloude.pagetype.team.patches.set_payment_mode
jcloude.patches.v0_0_1.add_team_name_as_default_notify_email
jcloude.jcloude.pagetype.team.patches.set_referrer_id
jcloude.jcloude.pagetype.team.patches.set_partner_email
jcloude.jcloude.pagetype.proxy_server.patches.generate_proxysql_monitor_password
jcloude.jcloude.pagetype.virtual_machine.patches.populate_volumes_table
jcloude.jcloude.pagetype.release_group.patches.set_bench_dependency_in_release_group
jcloude.jcloude.pagetype.jcloude_settings.patches.move_stripe_credentials_to_jcloude_settings
jcloude.patches.v0_0_4.disable_subscriptions_for_inactive_sites
jcloude.jcloude.pagetype.virtual_machine.patches.set_naming_fields
jcloude.jcloude.pagetype.virtual_machine.patches.set_virtual_machine_naming_series
jcloude.jcloude.pagetype.virtual_machine.patches.rename_virtual_machines
jcloude.jcloude.pagetype.user_ssh_key.patches.set_existing_keys_as_default
jcloude.jcloude.pagetype.jcloude_settings.patches.set_jcloude_monitoring_password
jcloude.jcloude.pagetype.deploy_candidate_app.patches.set_app_name_to_app
jcloude.jcloude.pagetype.site.patches.set_database_access_credentials
jcloude.jcloude.pagetype.team.patches.set_team_title
jcloude.jcloude.pagetype.telegram_group.patches.create_groups_from_jcloude_settings
jcloude.jcloude.pagetype.app_release.patches.set_clone_directory
jcloude.jcloude.pagetype.database_server_mariadb_variable.patches.add_unique_constraint
jcloude.jcloude.pagetype.release_group.patches.sync_common_site_config
execute:jingrow.delete_pg('Central Site Migration')
execute:jingrow.delete_pg('Central Server')
execute:jingrow.delete_pg('Feature Traction')
jcloude.patches.v0_7_0.set_hostname_abbreviation
jcloude.jcloude.pagetype.cluster.patches.rename_aws_fields
jcloude.jcloude.pagetype.virtual_machine.patches.rename_aws_fields
jcloude.jcloude.pagetype.virtual_machine_image.patches.rename_aws_fields
jcloude.jcloude.pagetype.virtual_disk_snapshot.patches.rename_aws_fields
jcloude.jcloude.pagetype.virtual_machine_volume.patches.rename_aws_fields
jcloude.patches.v0_7_0.convert_marketplace_description_to_html
jcloude.jcloude.pagetype.team.patches.remove_invalid_email_addresses
jcloude.saas.pagetype.product_trial.patches.rename_saas_product_pagetypes_to_product_trial

[post_model_sync]
jcloude.patches.v0_7_0.rename_plan_to_site_plan
jcloude.patches.v0_7_0.migrate_fields_from_plans_to_server_and_marketplace
jcloude.patches.v0_7_0.set_password_config_type
jcloude.jcloude.pagetype.agent_job.patches.update_status_for_undelivered_jobs #2024-04-23
jcloude.jcloude.pagetype.jcloude_role.patches.migrate_permissions
jcloude.jcloude.pagetype.jcloude_role.patches.change_fields_from_enable_to_allow
jcloude.jcloude.pagetype.stripe_webhook_log.patches.add_payment_method_for_failed_events
jcloude.patches.v0_7_0.add_team_field_for_site_related_pagetypes
jcloude.patches.v0_7_0.add_team_field_for_site_backups_archived
jcloude.jcloude.pagetype.server_storage_plan.patches.add_subscription_for_servers_with_additional_disk
jcloude.jcloude.pagetype.jcloude_notification.patches.link_reference_pagetype_to_notifications
jcloude.jcloude.pagetype.site.patches.set_plan_limit_in_site_config
jcloude.jcloude.pagetype.payout_order.patches.change_fields_from_recipient_to_team
jcloude.jcloude.pagetype.payout_order.patches.compute_total_amount
jcloude.jcloude.pagetype.marketplace_app.patches.change_field_from_first_site_creation_to_site_creation
jcloude.jcloude.pagetype.marketplace_app.patches.convert_images_to_webp
jcloude.marketplace.pagetype.app_user_review.patches.add_rating_values_to_apps
jcloude.jcloude.pagetype.site.patches.set_status_wizard_check_next_retry_datetime_in_site
jcloude.patches.v0_7_0.update_enable_performance_tuning
jcloude.jcloude.pagetype.server.patches.set_plan_and_subscription
jcloude.patches.v0_7_0.move_site_db_access_users_to_site_db_perm_manager
jcloude.jcloude.pagetype.drip_email.patches.set_correct_field_for_html
jcloude.patches.v0_7_0.set_label_for_site_database_user
jcloude.jcloude.pagetype.jcloude_settings.patches.set_redis_cache_size
jcloude.jcloude.pagetype.virtual_machine.patches.set_root_disk_size
jcloude.jcloude.pagetype.virtual_machine_image.patches.set_root_size
jcloude.patches.v0_7_0.fix_team_for_tls_certificates
jcloude.jcloude.pagetype.jcloude_settings.patches.set_minimum_rebuild_memory
jcloude.jcloude.pagetype.app_patch.patches.set_archived_patch_on_archived_bench
jcloude.patches.v0_7_0.add_site_backup_times_for_configured_ones
jcloude.patches.v0_7_0.rename_site_skip_scheduled_backups_field
jcloude.jcloude.pagetype.drip_email.patches.migrate_to_product_trial_field
jcloude.jcloude.pagetype.mpesa_payment_record.patches.add_unique_constraint
jcloude.jcloude.pagetype.user_2fa.patches.generate_recovery_codes
jcloude.jcloude.pagetype.account_request.patches.generate_expiration_time_for_request_key
jcloude.saas.pagetype.product_trial_request.patches.set_subscription_created_flag
jcloude.patches.v0_8_0.move_notify_billing_email_of_team_to_child_pg
jcloude.patches.v0_8_0.reset_release_group_gunicorn_workers
jcloude.patches.v0_8_0.clear_alertmanager_webhook_log
jcloude.jcloude.pagetype.jcloude_role.patches.to_resources
