Manage Module Versions

Create new module versions and migrate response data between versions in PEARS.

Module versions allow you to update a module's form structure over time without losing existing response data. Each version is a snapshot of the module's sections, fields, and options. The module detail page displays the version history and provides tools for creating new versions and migrating data.

Version History

The module detail page lists all versions with their status:

  • Live — The currently published version.

  • Draft — A work-in-progress version not yet visible to users.

  • Scheduled — A version scheduled for future publication.

  • Previous — Older versions that are no longer live.

Each version entry shows the version number, name, publish date (if applicable), version notes, and the number of responses collected.

Create a New Draft Version

To update a module's form structure, create a new draft version:

1

From the Module Builder list, click on the module to open its detail page.

2

Click Create New Draft

Click the Create New Draft button. PEARS copies the current live version's sections, fields, and options into a new draft.

circle-exclamation
3

Edit the draft

The new draft opens in the form builder. Make your changes — add, remove, or modify sections and fields as needed.

4

Publish the draft

When the draft is ready, publish it to replace the current live version.

Migrate Response Data

When you publish a new version that changes the form structure, existing responses remain associated with the version they were created on. Data migration allows you to move responses from an older version to a newer version, mapping fields between the two.

1

Start a migration

From the module detail page, click Migrate Responses on the version you want to migrate data from.

2

Select records

Choose which responses to include in the migration. You can select all responses or pick specific records.

3

Configure field mappings

Map fields from the source version to fields in the target version. PEARS automatically maps fields with matching slugs. For fields that changed between versions, manually select the corresponding target field.

4

Review and confirm

Review the migration summary showing the number of records and field mappings. Click Confirm to start the migration.

circle-exclamation

Delete a Version

To delete a previous version, click Delete on the version entry in the module detail page. Deleting a version removes the version record but does not affect responses that have been migrated to other versions.

circle-exclamation

Last updated