WireDatabaseSchemaLog::record()
Record a schema change that has just been successfully executed
Never throws: a failure to record is reported to the error log, since it must not affect the schema change itself.
Usage
$bool = $wireDatabaseSchemaLog->record(string $sql);Arguments
| Name | Type(s) | Description |
|---|---|---|
$sql | string | Schema change in MySQL syntax |
Return value
boolTrue if recorded (or accounted for by the baseline)
WireDatabaseSchemaLog methods and properties
API reference based on ProcessWire core version 3.0.275