code: public static void deleteGeometryIndex(GeoPackageCore geoPackage,
  			String table) {
  
  		TableIndexDao tableIndexDao = geoPackage.getTableIndexDao();
  		ExtensionsDao extensionsDao = geoPackage.getExtensionsDao();
  
  		try {
  			if (tableIndexDao.isTableExists()) {
  				tableIndexDao.deleteByIdCascade(table);
  			}
  			if (extensionsDao.isTableExists()) {
  				extensionsDao.deleteByExtension(
  						FeatureTableCoreIndex.EXTENSION_NAME, table);
  			}
  		} catch (SQLException e) {
  			throw new GeoPackageException(
  					"Failed to delete Table Index. GeoPackage: "
  							+ geoPackage.getName() + ", Table: " + table, e);
  		}
  	}
docs: Delete the Geometry Index extension for the table
  
  @param geoPackage
  GeoPackage
  @param table
  table name
  @since 1.1.5