public void createTables ( boolean makeIndexes ) throws Exception { database . executeInsertUpdateDeleteSql ( "DROP TABLE IF EXISTS " + TABLE_TILES ) ; database . executeInsertUpdateDeleteSql ( "DROP TABLE IF EXISTS " + TABLE_METADATA ) ; database . executeInsertUpdateDeleteSql ( CREATE_TILES ) ; database . executeInsertUpdateDeleteSql ( CREATE_METADATA ) ; if ( makeIndexes ) { createIndexes ( ) ; } }
Create the mbtiles tables in the db .