@Override
  public void onOpen(SQLiteDatabase db) {
    if (databaseHelperListener != null) {
      databaseHelperListener.onOpen(db);
    }

    checkForeignKeySupport(db);
  }
 @Override
 public void onOpen(DatabaseWrapper database) {
   if (helperListener != null) {
     helperListener.onOpen(database);
   }
 }