Skip to content

Commit

Permalink
Fixing migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhowbrook committed Dec 15, 2023
1 parent 23f74d1 commit 7f3a0b0
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1648,7 +1648,7 @@ class Migration(migrations.Migration):
),
),
(
"stats_block",
"statistics",
wagtail.blocks.StructBlock(
[
(
Expand Down Expand Up @@ -1679,14 +1679,24 @@ class Migration(migrations.Migration):
),
),
(
"carousel_text_block",
"carousel_and_text",
wagtail.blocks.StructBlock(
[
(
"heading",
wagtail.blocks.CharBlock(help_text="Heading for the block.", required=False),
),
("text", wagtail.blocks.RichTextBlock(features=["bold", "italic", "link"])),
(
"link_url",
wagtail.blocks.URLBlock(
help_text="A CTA URL for a link displayed", required=False
),
),
(
"link_label",
wagtail.blocks.CharBlock(help_text="Label for the CTA link.", required=False),
),
(
"carousel_images",
wagtail.blocks.ListBlock(
Expand All @@ -1705,16 +1715,6 @@ class Migration(migrations.Migration):
max_num=4,
),
),
(
"link_url",
wagtail.blocks.URLBlock(
help_text="A CTA URL for a link displayed", required=False
),
),
(
"link_label",
wagtail.blocks.CharBlock(help_text="Label for the CTA link.", required=False),
),
]
),
),
Expand Down

0 comments on commit 7f3a0b0

Please sign in to comment.