Migrator
forgetVersion()
Signature
Section titled “Signature”forgetVersion() — returns struct
Available in: migrator
Category: General Functions
Description
Section titled “Description”Removes a row from wheels_migrator_versions without running
down(). Only orphan versions (those with no matching local file)
can be forgotten — for legitimate rollbacks, use migrate down.
Returns: {success, removed, message}
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
version | string | yes | — | The version string to forget (digits only after sanitisation). |