###
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
###
shared
/
org.danbrough.hb
/
Migration
Migration
class
Migration
(
val
description
:
String
,
val
afterVersion
:
Int
,
val
finalVersion
:
Int
,
val
migration
:
TransactionWithoutReturn
.
(
Migration
,
HBDatabase
)
->
Unit
)
Members
Constructors
Migration
Link copied to clipboard
constructor
(
description
:
String
,
afterVersion
:
Int
,
finalVersion
:
Int
,
migration
:
TransactionWithoutReturn
.
(
Migration
,
HBDatabase
)
->
Unit
)
Properties
after
Version
Link copied to clipboard
val
afterVersion
:
Int
description
Link copied to clipboard
val
description
:
String
final
Version
Link copied to clipboard
val
finalVersion
:
Int
migration
Link copied to clipboard
val
migration
:
TransactionWithoutReturn
.
(
Migration
,
HBDatabase
)
->
Unit
Functions
run
Link copied to clipboard
fun
run
(
db
:
HBDatabase
,
transaction
:
TransactionWithoutReturn
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String