$database→schemaLog()

Get the schema log, which records every change to the database schema in MySQL syntax

The log is kept in the schema_log table on every database type, and can be replayed on an empty MySQL database to reproduce the schema, i.e. when converting a site to MySQL.

Available since version 3.0.273.

Usage

$wireDatabaseSchemaLog = $database->schemaLog();

$database methods and properties

API reference based on ProcessWire core version 3.0.275