Struct Migrations

Public

Helper struct for handling serialization backwards compatibility.

It stores which migrations have been completed as a bitfield.

Public Methods

AddAndMaybeRunMigration (flag, filter=true)
Public
IgnoreMigrationAttempt ()
Public
MarkMigrationFinished (flag)
Public
Migrations (value)
Public
TryMigrateFromLegacyFormat (legacyVersion)
Public

Public Variables

IsLegacyFormat
Public
LegacyVersion
Public

Public Static Variables

MIGRATE_TO_BITFIELD

A special migration flag which is used to mark that the version has been migrated to the bitfield format, from the legacy linear version format.

Public Static

Private/Protected Members

allMigrations

Bitfield of all migrations that the component supports.

Internal
finishedMigrations

Bitfield of all migrations that have been run.

Internal
ignore
Internal