userVersion property

int get userVersion

Returns the user_version pragma from sqlite.

Implementation

int get userVersion {
  return _selectSingleRowAndColumn('PRAGMA user_version;') as int;
}
set userVersion (int version)

Sets sqlite's user_version pragma to the specified version.

Implementation

set userVersion(int version) {
  run('PRAGMA user_version = $version');
}