|
|
@@ -71,7 +71,7 @@ class OrmCacheShell extends Shell
|
|
|
if (empty($name)) {
|
|
|
$tables = $schema->listTables();
|
|
|
}
|
|
|
- $configName = $schema->cacheMetadata();
|
|
|
+ $configName = $schema->getCacheMetadata();
|
|
|
|
|
|
foreach ($tables as $table) {
|
|
|
$this->_io->verbose(sprintf(
|
|
|
@@ -102,7 +102,7 @@ class OrmCacheShell extends Shell
|
|
|
'as it does not implement a "schemaCollection()" method.',
|
|
|
$this->params['connection']
|
|
|
);
|
|
|
- $this->error($msg);
|
|
|
+ $this->abort($msg);
|
|
|
|
|
|
return false;
|
|
|
}
|
|
|
@@ -112,7 +112,7 @@ class OrmCacheShell extends Shell
|
|
|
$source->cacheMetadata(true);
|
|
|
}
|
|
|
|
|
|
- return $source->schemaCollection();
|
|
|
+ return $source->getSchemaCollection();
|
|
|
}
|
|
|
|
|
|
/**
|