
UPDATE
  page
SET
  description = 'Hire Our Venue'
WHERE
  name = '/hire-our-venue/';


UPDATE
  page
SET
  title = 'Our Racecourse',
  description = 'Our Racecourse',
  next_page_id = 50
WHERE
  name = '/our-racecourse/';


UPDATE
  page
SET
  previous_page_id = 50
WHERE
  name = '/our-racecourse/owners-and-trainers/';

UPDATE
  page
SET
  previous_page_id = 52
WHERE
  name = '/contact-us/';

update `content_block_setting`
set `settings` = '
{
    "templates":{
        "Left Light template":{
            "filename":"template-1"
        },
        "Right Light template":{
            "filename":"template-2"
        },
        "Left Dark template":{
            "filename":"template-1-dark"
        },
        "Right Dark template":{
            "filename":"template-2-dark"
        },
        "Full Width template":{
            "filename":"full-width"
        }
    },
    "grouped":{

    },
    "fields":{
        "header":{
            "type":"text",
            "max_length":15
        },
        "desc":{
            "type":"textarea",
            "max_length":255
        },
        "hero":{
            "type":"image",
            "width":800,
            "height":1432
        },
        "image1":{
            "type":"image",
            "width":800,
            "height":716
        },
        "image2":{
            "type":"image",
            "width":800,
            "height":716
        },
        "wide_image":{
            "type":"image",
            "width":2000,
            "height":600
        },
        "cta":{
            "type":"button",
            "label":{
                "text":"",
                "max_length":20
            },
            "link":{
                "url":"",
                "target":"_blank"
            }
        }
    }
}
'
where `name` = 'promo-block';

update `content_block_setting`
set `settings` = '
{
  "templates": {
    "Default": {
      "filename": "template-main"
    },
    "Slider": {
      "filename": "template-slider"
    }
  },
  "fields": {
    "header": {
      "type": "text",
      "max_length": 25
    },
    "desc": {
      "type": "textarea",
      "max_length": 255
    },
    "hero": {
      "type": "image",
      "width": 2000,
      "height": 600
    },
    "cta": {
      "type": "button",
      "label": {
        "text": "",
        "max_length": 20
      },
      "link": {
        "url": "",
        "target": "_blank"
      }
    }
  },
  "grouped": {
    "items": {
      "max_members": 4,
      "member": {
        "image": {
          "type": "image",
          "width": 2000,
          "height": 600
        },
        "title": {
          "type": "text",
          "max_length": 20
        },
        "subtitle": {
          "type": "text",
          "max_length": 20
        },
        "cta": {
          "type": "button",
          "label": {
            "text": "",
            "max_length": 20
          },
          "link": {
            "url": "",
            "target": "_blank"
          }
        }
      }
    }
  }
}
'
where `name` = 'page-hero-block';

