public static int getDatabaseVersion ( ) { Integer databaseVersion = getMetaDataInteger ( METADATA_VERSION ) ; if ( ( databaseVersion == null ) || ( databaseVersion == 0 ) ) { databaseVersion = 1 ; } return databaseVersion ; }
Grabs the database version from the manifest .