UpgradableVersions are registered to a Datastore that mixes-in VersioningSupport. An UpgradableVersion represents a
specific version number of the database that can be upgraded to. By default the database starts at zero an
UpgradableVersion must be registered for each incrementing version. The responsibility of each UpgradableVersion is
to upgrade from one version behind to this version.
Linear Supertypes
AnyRef, Any
Ordering
Alphabetic
By Inheritance
Inherited
UpgradableVersion
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Abstract Value Members
abstract defupgrade(implicit session: Session): Unit
Runs the upgrade
abstract defversion: Int
The version this upgrade will apply.
The version this upgrade will apply. The first upgrade version should start at 1.
UpgradableVersions are registered to a Datastore that mixes-in VersioningSupport. An UpgradableVersion represents a specific version number of the database that can be upgraded to. By default the database starts at zero an UpgradableVersion must be registered for each incrementing version. The responsibility of each UpgradableVersion is to upgrade from one version behind to this version.