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

[post_model_sync]
jcloud.patches.v0_7_0.rename_plan_to_site_plan
jcloud.patches.v0_7_0.migrate_fields_from_plans_to_server_and_marketplace
jcloud.patches.v0_7_0.set_password_config_type
jcloud.jcloud.pagetype.agent_job.patches.update_status_for_undelivered_jobs #2024-04-23
jcloud.jcloud.pagetype.jcloud_role.patches.migrate_permissions
jcloud.jcloud.pagetype.jcloud_role.patches.change_fields_from_enable_to_allow
jcloud.jcloud.pagetype.stripe_webhook_log.patches.add_payment_method_for_failed_events
jcloud.patches.v0_7_0.add_team_field_for_site_related_doctypes
jcloud.patches.v0_7_0.add_team_field_for_site_backups_archived
jcloud.jcloud.pagetype.server_storage_plan.patches.add_subscription_for_servers_with_additional_disk
jcloud.jcloud.pagetype.jcloud_notification.patches.link_reference_pagetype_to_notifications
jcloud.jcloud.pagetype.site.patches.set_plan_limit_in_site_config
jcloud.jcloud.pagetype.payout_order.patches.change_fields_from_recipient_to_team
jcloud.jcloud.pagetype.payout_order.patches.compute_total_amount
jcloud.jcloud.pagetype.marketplace_app.patches.change_field_from_first_site_creation_to_site_creation
jcloud.jcloud.pagetype.marketplace_app.patches.convert_images_to_webp
jcloud.marketplace.pagetype.app_user_review.patches.add_rating_values_to_apps
jcloud.jcloud.pagetype.site.patches.set_status_wizard_check_next_retry_datetime_in_site
jcloud.patches.v0_7_0.update_enable_performance_tuning
jcloud.jcloud.pagetype.server.patches.set_plan_and_subscription
jcloud.patches.v0_7_0.move_site_db_access_users_to_site_db_perm_manager
jcloud.jcloud.pagetype.drip_email.patches.set_correct_field_for_html
jcloud.patches.v0_7_0.set_label_for_site_database_user
jcloud.jcloud.pagetype.jcloud_settings.patches.set_redis_cache_size
jcloud.jcloud.pagetype.virtual_machine.patches.set_root_disk_size
jcloud.jcloud.pagetype.virtual_machine_image.patches.set_root_size
jcloud.patches.v0_7_0.fix_team_for_tls_certificates
