if (dropTables) { dropDatabase(database); }  createTables(database);   createExternalForeignKeys(database);
createDatabase(database, true);
    public void createDatabase(Database database, boolean dropTables) throws IOException    {        if (dropTables)        {            dropDatabase(database);        }        createTables(database);        // we're writing the external foreignkeys last to ensure that all referenced tables are already defined        createExternalForeignKeys(database);    }