{
 "actions": [],
 "creation": "2022-01-28 20:07:33.955528",
 "pagetype": "PageType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "site",
  "server",
  "source_bench",
  "source_candidate",
  "group",
  "team",
  "column_break_4",
  "status",
  "destination_bench",
  "destination_candidate",
  "destination_group",
  "scheduled_time",
  "section_break_8",
  "difference",
  "difference_deploy_type",
  "deploy_type",
  "backup_type",
  "column_break_14",
  "site_backup",
  "skipped_backups",
  "skipped_failing_patches",
  "section_break_luvm",
  "deactivate_site_job",
  "update_job",
  "activate_site_job",
  "column_break_rcyp",
  "recover_job",
  "cause_of_failure_is_resolved",
  "physical_backup_restoration",
  "section_break_gmrz",
  "update_start",
  "column_break_jtqs",
  "update_end",
  "column_break_ellx",
  "update_duration",
  "section_break_tpap",
  "touched_tables"
 ],
 "fields": [
  {
   "fieldname": "site",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Site",
   "options": "Site"
  },
  {
   "fetch_from": "site.bench",
   "fieldname": "source_bench",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Source Bench",
   "options": "Bench"
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break",
   "hide_days": 1,
   "hide_seconds": 1
  },
  {
   "fieldname": "status",
   "fieldtype": "Select",
   "hide_days": 1,
   "hide_seconds": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Status",
   "no_copy": 1,
   "options": "Pending\nRunning\nSuccess\nFailure\nRecovering\nRecovered\nFatal\nScheduled"
  },
  {
   "fieldname": "destination_bench",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Destination Bench",
   "options": "Bench"
  },
  {
   "fieldname": "section_break_8",
   "fieldtype": "Section Break",
   "hide_days": 1,
   "hide_seconds": 1
  },
  {
   "fieldname": "deploy_type",
   "fieldtype": "Select",
   "hide_days": 1,
   "hide_seconds": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Deploy Type",
   "no_copy": 1,
   "options": "\nPull\nMigrate"
  },
  {
   "fetch_from": "source_bench.candidate",
   "fieldname": "source_candidate",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Source Deploy Candidate",
   "no_copy": 1,
   "options": "Deploy Candidate"
  },
  {
   "fetch_from": "destination_bench.candidate",
   "fieldname": "destination_candidate",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Destination Deploy Candidate",
   "no_copy": 1,
   "options": "Deploy Candidate"
  },
  {
   "fieldname": "difference",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Deploy Candidate Difference",
   "options": "Deploy Candidate Difference"
  },
  {
   "fetch_from": "source_bench.group",
   "fieldname": "group",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Source Group",
   "no_copy": 1,
   "options": "Release Group"
  },
  {
   "fetch_from": "site.server",
   "fieldname": "server",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Server",
   "options": "Server"
  },
  {
   "fieldname": "update_job",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Update Job",
   "no_copy": 1,
   "options": "Agent Job",
   "read_only": 1,
   "search_index": 1
  },
  {
   "default": "0",
   "fieldname": "cause_of_failure_is_resolved",
   "fieldtype": "Check",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Cause of Failure is Resolved",
   "no_copy": 1
  },
  {
   "fieldname": "column_break_14",
   "fieldtype": "Column Break",
   "hide_days": 1,
   "hide_seconds": 1
  },
  {
   "fieldname": "recover_job",
   "fieldtype": "Link",
   "hide_days": 1,
   "hide_seconds": 1,
   "label": "Recover Job",
   "no_copy": 1,
   "options": "Agent Job",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fetch_from": "difference.deploy_type",
   "fieldname": "difference_deploy_type",
   "fieldtype": "Select",
   "label": "Difference Deploy Type",
   "options": "\nPull\nMigrate"
  },
  {
   "default": "0",
   "fieldname": "skipped_failing_patches",
   "fieldtype": "Check",
   "label": "Skipped Failing Patches",
   "no_copy": 1,
   "read_only": 1
  },
  {
   "fetch_from": "destination_bench.group",
   "fieldname": "destination_group",
   "fieldtype": "Link",
   "label": "Destination Group",
   "no_copy": 1,
   "options": "Release Group"
  },
  {
   "default": "0",
   "fieldname": "skipped_backups",
   "fieldtype": "Check",
   "label": "Skipped Backups",
   "no_copy": 1,
   "read_only": 1
  },
  {
   "fieldname": "scheduled_time",
   "fieldtype": "Datetime",
   "label": "Scheduled Time"
  },
  {
   "fetch_from": "site.team",
   "fieldname": "team",
   "fieldtype": "Link",
   "label": "Team",
   "options": "Team"
  },
  {
   "default": "Logical",
   "fieldname": "backup_type",
   "fieldtype": "Select",
   "label": "Backup Type",
   "options": "Logical\nPhysical",
   "set_only_once": 1
  },
  {
   "depends_on": "eval: pg.backup_type == \"Physical\"",
   "fieldname": "site_backup",
   "fieldtype": "Link",
   "label": "Site Backup",
   "options": "Site Backup",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fieldname": "activate_site_job",
   "fieldtype": "Link",
   "label": "Activate Site Job",
   "options": "Agent Job",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fieldname": "deactivate_site_job",
   "fieldtype": "Link",
   "label": "Deactivate Site Job",
   "options": "Agent Job",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fieldname": "section_break_luvm",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "column_break_rcyp",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "physical_backup_restoration",
   "fieldtype": "Link",
   "label": "Physical Backup Restoration",
   "options": "Physical Backup Restoration",
   "read_only": 1,
   "search_index": 1
  },
  {
   "fieldname": "section_break_tpap",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "touched_tables",
   "fieldtype": "Code",
   "label": "Touched Tables",
   "read_only": 1
  },
  {
   "fieldname": "section_break_gmrz",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "update_start",
   "fieldtype": "Datetime",
   "label": "Update Start",
   "read_only": 1
  },
  {
   "fieldname": "column_break_jtqs",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "update_end",
   "fieldtype": "Datetime",
   "label": "Update End",
   "read_only": 1
  },
  {
   "fieldname": "column_break_ellx",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "update_duration",
   "fieldtype": "Duration",
   "label": "Update Duration",
   "read_only": 1
  }
 ],
 "index_web_pages_for_search": 1,
 "links": [],
 "modified": "2025-01-28 14:12:55.667576",
 "modified_by": "Administrator",
 "module": "Jcloud",
 "name": "Site Update",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  },
  {
   "create": 1,
   "role": "Jcloud Admin",
   "write": 1
  },
  {
   "create": 1,
   "role": "Jcloud Member",
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": [],
 "title_field": "site",
 "track_changes": 1
}