protected Schema::alterTable($table, $old_schema, $new_schema, array $mapping = array())
Create a table with a new schema containing the old content.
As SQLite does not support ALTER TABLE (with a few exceptions) it is necessary to create a new table and copy over the old content.
Parameters
$table: Name of the table to be altered.
$old_schema: The old schema array for the table.
$new_schema: The new schema array for the table.
$mapping: An optional mapping between the fields of the old specif