code: public static void deleteRelatedTables(GeoPackageCore geoPackage,
  			String table) {
  
  		RelatedTablesCoreExtension relatedTablesExtension = getRelatedTableExtension(geoPackage);
  		if (relatedTablesExtension.has()) {
  			relatedTablesExtension.removeRelationships(table);
  		}
  
  	}
docs: Delete the Related Tables extensions for the table
  
  @param geoPackage
  GeoPackage
  @param table
  table name
  @since 3.2.0