Title: How to implement WordPress plugin update that modifies the database?
Last modified: August 20, 2016

---

# How to implement WordPress plugin update that modifies the database?

 *  [moroshko](https://wordpress.org/support/users/moroshko/)
 * (@moroshko)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/how-to-implement-wordpress-plugin-update-that-modifies-the-database/)
 * I develop a WordPress plugin, which has several database tables of its own. The
   plugin creates these tables when activated, and removes them when deleted/uninstalled.
 * I have to implement an update process of the plugin which updates plugin’s code
   as well as tables structure. The simplest case would be to add a new column to
   one of the tables. The more complex case would be to create a new tables structure
   and update the content accordingly.
 * How would you recommend to solve this problem? Is there any built-in WordPress
   functions that may help?

The topic ‘How to implement WordPress plugin update that modifies the database?’
is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [moroshko](https://wordpress.org/support/users/moroshko/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/how-to-implement-wordpress-plugin-update-that-modifies-the-database/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
