Skip to content

Create merch product global schema - #283

Merged
yrska merged 9 commits into
mainfrom
olivia-create-merchproductglobal
Oct 8, 2026
Merged

yrska merged 9 commits into
mainfrom
olivia-create-merchproductglobal

Conversation

@olivia2450

Copy link
Copy Markdown
Contributor

closes #<issue_number>

🌟 Context

Creates a Payload global named merch-content that covers all five editable product sections (T-Shirts, Stickers, Board Shorts, Towel Poncho, Sweatshirt)


📝 Description


📋 Notes

@olivia2450
olivia2450 requested a review from yrska September 19, 2026 10:44
@vercel

vercel Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
aucc Ready Ready Preview Oct 7, 2026 11:55pm UTC

@olivia2450 olivia2450 linked an issue Sep 19, 2026 that may be closed by this pull request
10 tasks

@yrska yrska left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • No migration included. call pnpm payload migrate:create
  • Removing the stray MerchGlobal import from revalidation.ts is a good fix.
  • Its fixed per-product groups don't match the sections[] shape the merch components in PR #311 expect. If you can pull in new changes from this and fix that.

…d by #311; remove duplicate migration causing migrate:fresh failures
The two migrations added in this PR created the per-product columns
and then dropped them all in favour of sections/products. Replace them
with a single generated migration. The resulting schema snapshot is
identical to the previous final snapshot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yrska and others added 2 commits October 8, 2026 12:47
Bring the merch-content global back to the shape ticket #230 asks for:
T-Shirts, Stickers, Board Shorts, Towel Poncho and Sweatshirt groups,
each with label, heading, body, image and badge, plus the Towel Poncho
annotations, Board Shorts caption and group photo, and Sweatshirt year
label and two images.

Regenerate types and replace the migration. The migration first drops
any merch_content tables left by earlier revisions of this PR, so it
also runs on databases that applied those.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@yrska yrska left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored five-section merch-content schema, all tests pass now

@yrska
yrska enabled auto-merge (squash) October 7, 2026 23:53
@yrska
yrska merged commit 5683120 into main Oct 8, 2026
6 of 7 checks passed
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

🚀 Preview deployment is live: Preview Link

@yrska
yrska deleted the olivia-create-merchproductglobal branch October 8, 2026 00:50

This branch was successfully deployed

1 active deployment
Preview — 1d5d090a Deployed Oct 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CMS] Merch product sections global schema

2 participants