a-blog cms PHP API Reference

Engine
in package

Table of Contents

Properties

$databaseVersion  : string
データベースのシステムバージョン
$systemVersion  : string
システムファイルのバージョン
$configServerPath  : string
config.server.php のパス
$createdTables  : array<string|int, mixed>
新規追加されたテーブル
$logger  : LoggerInterface
$schema  : Schema
データベーススキーマ
$unusedColumn  : array<string|int, mixed>
使用していないカラム

Methods

__construct()  : mixed
Constructor
checkUpdates()  : bool
バージョンチェック
compareDatabase()  : bool
データベース定義と現在のデータベースに差異があるかチェック
dbUpdate()  : mixed
setUpdateVersion()  : mixed
update()  : mixed
データベースのアップデート実行
validate()  : mixed
データベースのアップデートできるかチェック
createTables()  : mixed
新しいテーブルの作成
updateColumns()  : mixed
データベースのカラムをアップデート
updateConfigServerPhp()  : mixed
config.server.php のアップデート
updateEngines()  : mixed
テーブルのエンジンをアップデート
updateIndexs()  : mixed
データベースのインデックス情報をアップデート
updateNames()  : mixed
データベースのカラム名のアップデート
updateSepecificRule()  : mixed
例外的なルールのアップデート処理
updateSequenceSystemVersion()  : mixed
sequenceテーブルのバージョンをアップデート

Properties

$databaseVersion

データベースのシステムバージョン

public string $databaseVersion

$systemVersion

システムファイルのバージョン

public string $systemVersion

$configServerPath

config.server.php のパス

protected string $configServerPath

$createdTables

新規追加されたテーブル

protected array<string|int, mixed> $createdTables = []

$schema

データベーススキーマ

protected Schema $schema

$unusedColumn

使用していないカラム

protected array<string|int, mixed> $unusedColumn

Methods

checkUpdates()

バージョンチェック

public checkUpdates() : bool
Tags
throws
RuntimeException
Return values
bool

compareDatabase()

データベース定義と現在のデータベースに差異があるかチェック

public compareDatabase() : bool
Return values
bool

dbUpdate()

public dbUpdate() : mixed
Tags
throws
Exception

setUpdateVersion()

public setUpdateVersion(string $version) : mixed
Parameters
$version : string

update()

データベースのアップデート実行

public update() : mixed

validate()

データベースのアップデートできるかチェック

public validate([bool $skipVersion = false ]) : mixed
Parameters
$skipVersion : bool = false
Tags
throws
RuntimeException

createTables()

新しいテーブルの作成

protected createTables() : mixed

updateColumns()

データベースのカラムをアップデート

protected updateColumns() : mixed

updateConfigServerPhp()

config.server.php のアップデート

protected updateConfigServerPhp() : mixed

updateEngines()

テーブルのエンジンをアップデート

protected updateEngines() : mixed

updateIndexs()

データベースのインデックス情報をアップデート

protected updateIndexs() : mixed

updateNames()

データベースのカラム名のアップデート

protected updateNames() : mixed

updateSepecificRule()

例外的なルールのアップデート処理

protected updateSepecificRule() : mixed

updateSequenceSystemVersion()

sequenceテーブルのバージョンをアップデート

protected updateSequenceSystemVersion() : mixed

        
On this page

Search results