diff --git a/README.md b/README.md index e5512ed..338cea0 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ keyspaceConfig.getClusterConfig().setUsername(CASSANDRA_USERNAME); keyspaceConfig.getClusterConfig().setPassword(CASSANDRA_PASSWORD); CassandraMigration cm = new CassandraMigration(); -cm.getConfigs().setScriptsLocations(scriptsLocations); +cm.setLocations(scriptsLocations); cm.setKeyspaceConfig(keyspaceConfig); cm.migrate(); ```