Delete a table

Administrators can delete custom tables that are no longer needed. For example, delete a table from an application that is under development because the business requirements change.

A table is custom if it was created by an administrator and is not part of a system upgrade or plugin activation. Custom table names always begins with u_, or x_ for scoped tables.

Base system tables cannot be deleted. Additionally, any missing base system tables are recreated when the instance is upgraded. You cannot delete a table if another table extends it.

Warning: You must delete the records in the table before you delete the table. If you do not delete the records first, errors can result on the parent table if it references the records. Deleting the records removes any references from the parent table.