Constants

COMMON_SCHEMA

COMMON_SCHEMA

CLIENT_SCHEMA

CLIENT_SCHEMA

Properties

$schemaAdaptor

$schemaAdaptor : 

Type

$moduleSchemaVersionHandler

$moduleSchemaVersionHandler : 

Type

$databaseManager

$databaseManager : 

Type

Methods

schemaList()

schemaList() 

loadSchema()

loadSchema(  $schema,   $database,   $changeset = 'update.json',   $emType = null,   $logLevel = 'warning') 

Parameters

$schema
$database
$changeset
$emType
$logLevel

getSchemaConfig()

getSchemaConfig() 

updateToLatest()

updateToLatest(  $database,   $module = null,   $write = true) 

Parameters

$database
$module
$write

updateToVersion()

updateToVersion(  $version,   $database,   $module = null,   $write = true) 

Parameters

$version
$database
$module
$write

generateSql()

generateSql(  $moduleChangelogs) 

Parameters

$moduleChangelogs

runChangelogs()

runChangelogs(  $moduleChangelogs) 

Parameters

$moduleChangelogs

revertChangelogs()

revertChangelogs(  $changelogs) 

Parameters

$changelogs

revert()

revert(  $ranLogs,   $exception) 

Parameters

$ranLogs
$exception

updateModuleVersion()

updateModuleVersion(  $moduleName,   $version) 

Parameters

$moduleName
$version

makeSchema()

makeSchema(  $log) 

Parameters

$log

getComputableChangelogs()

getComputableChangelogs(  $moduleVersions,   $maxVersion = null) 

Parameters

$moduleVersions
$maxVersion

getModuleChangelogs()

getModuleChangelogs(  $name) 

Parameters

$name