Struct ckb_db_migration::Migrations [−][src]
pub struct Migrations { /* fields omitted */ }Expand description
TODO(doc): @quake
Implementations
TODO(doc): @quake
Check if database’s version is matched with the executable binary version.
Returns
- Less: The database version is less than the matched version of the executable binary. Requires migration.
- Equal: The database version is matched with the executable binary version.
- Greater: The database version is greater than the matched version of the executable binary. Requires upgrade the executable binary.
Check if the migrations will consume a lot of time.
Trait Implementations
Returns the “default value” for a type. Read more