import"sbILocalDatabaseMigrationHelper.idl";
Public Member Functions | |
unsigned long | getLatestSchemaVersion () |
The latest schema version. More... | |
boolean | canMigrate (in unsigned long aFromVersion, in unsigned long aToVersion) |
Check for appropriate migration between two different schema versions. More... | |
void | migrate (in unsigned long aFromVersion, in unsigned long aToVersion, in sbILocalDatabaseLibrary aLibrary) |
Migrate a library from/to a specific schema version. More... | |
Definition at line 38 of file sbILocalDatabaseMigrationHelper.idl.
boolean sbILocalDatabaseMigrationHelper::canMigrate | ( | in unsigned long | aFromVersion, |
in unsigned long | aToVersion | ||
) |
Check for appropriate migration between two different schema versions.
unsigned long sbILocalDatabaseMigrationHelper::getLatestSchemaVersion | ( | ) |
The latest schema version.
void sbILocalDatabaseMigrationHelper::migrate | ( | in unsigned long | aFromVersion, |
in unsigned long | aToVersion, | ||
in sbILocalDatabaseLibrary | aLibrary | ||
) |
Migrate a library from/to a specific schema version.