Directive - Rename Table

Details

Name: rename_table

Format: array of table names as keys, and new names as values

Description

Changes the name of a table in the database.

Directives exist (Create, Drop) to handle creation and deletion of tables.

Example


'rename_table' => array(
	'categories' => 'groups',
	'emails' => 'email_addresses'
)

After the successful execution of the above rename_table command, the following will have occurred:

  1. categories table will be renamed to groups
  2. emails table will be renamed to email_addresses