Make WordPress Core

Opened 3 years ago

Last modified 19 months ago

#54324 new enhancement

Rename Table Function - maybe_rename_table()

Reported by: bhubbard's profile bhubbard Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Database Keywords: has-patch
Focuses: Cc:

Description

I would like to see a helper function to rename tables, similar to maybe_create_table() in /wp-admin/install-helper.php.

Having a maybe_delete_table() would be very useful as well.

Change History (2)

This ticket was mentioned in PR #2797 on WordPress/wordpress-develop by bhubbard.


2 years ago
#1

  • Keywords has-patch added

New function maybe_rename_table() which can be used for db upgrades.

Trac ticket: 54324

#2 @bhubbard
19 months ago

Can someone please review this?

Note: See TracTickets for help on using tickets.