Skip to content

Need Guidance for Migrating Wishlist Notes to Plugin v3 #155

@wolf-ms

Description

@wolf-ms

Question

Environment

  • Craft CMS Version: 5.6.11
  • Wishlist Plugin Version: 3.0.6 (recently upgraded from v2)
  • PHP Version: 8.2
  • Database: MySQL

Problem Description

We recently upgraded to Wishlist v3 alongside Craft 5, and we need guidance on the recommended approach for migrating our custom wishlistNote field to the new format.

The field previously stored notes directly in the content table, but with Craft 5, the data is stored as JSON in the element_sites table. We want to ensure we migrate the data correctly while maintaining all relationships between notes and their parent lists.

Questions for the Developer

  1. What is the recommended approach for migrating custom fields when upgrading to v3?
  2. Are there any specific considerations we should be aware of when migrating alongside Craft 5?
  3. Is there documentation or example migrations we could reference for this type of upgrade?

Additional Context

  • We have approximately 611 notes that need to be migrated
  • The notes are currently stored in the old format in the content table
  • We want to ensure we maintain all relationships between notes and their parent lists during the migration

We'd appreciate any guidance on the recommended approach for this migration. Thank you!

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions