Directive - Drop Field
Details
Name: drop_field
Format: array of table names with field arrays
Description
Drop field is used for removing fields from existing tables in the schema.
Directives exist (Create, Rename, Alter) to handle other field based migration operations.
Example
'drop_field' => array(
'categories' => array(
'created',
'modified'),
'emails' => array(
'error')
)
This example shows the removal of the created and modified fields from the categories table, and the removal of the error field from the emails table.