private void createTables() {
        this.db.execSQL(DbConstants.DROP_METADATA_STATEMENT);
        this.db.execSQL(DbConstants.DROP_INDEX_STATEMENT);
        this.db.execSQL(DbConstants.DROP_CATEGORY_MAP_STATEMENT);
        this.db.execSQL(DbConstants.DROP_DATA_STATEMENT);
        this.db.execSQL(DbConstants.DROP_CATEGORIES_STATEMENT);

        this.db.execSQL(DbConstants.CREATE_CATEGORIES_STATEMENT);
        this.db.execSQL(DbConstants.CREATE_DATA_STATEMENT);
        this.db.execSQL(DbConstants.CREATE_CATEGORY_MAP_STATEMENT);
        this.db.execSQL(DbConstants.CREATE_INDEX_STATEMENT);
        this.db.execSQL(DbConstants.CREATE_METADATA_STATEMENT);
    }
private void createTables ( ) { this . db . execSQL ( DbConstants . DROP_METADATA_STATEMENT ) ; this . db . execSQL ( DbConstants . DROP_INDEX_STATEMENT ) ; this . db . execSQL ( DbConstants . DROP_CATEGORY_MAP_STATEMENT ) ; this . db . execSQL ( DbConstants . DROP_DATA_STATEMENT ) ; this . db . execSQL ( DbConstants . DROP_CATEGORIES_STATEMENT ) ; this . db . execSQL ( DbConstants . CREATE_CATEGORIES_STATEMENT ) ; this . db . execSQL ( DbConstants . CREATE_DATA_STATEMENT ) ; this . db . execSQL ( DbConstants . CREATE_CATEGORY_MAP_STATEMENT ) ; this . db . execSQL ( DbConstants . CREATE_INDEX_STATEMENT ) ; this . db . execSQL ( DbConstants . CREATE_METADATA_STATEMENT ) ; }
DB open created a new file, so let's create its tables.