Skip to content

Migrator

forgetVersion()

forgetVersion() — returns struct

Available in: migrator Category: General Functions

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}

NameTypeRequiredDefaultDescription
versionstringyes—The version string to forget (digits only after sanitisation).