Title: Use table prefix
Last modified: September 23, 2016

---

# Use table prefix

 *  [Vlad](https://wordpress.org/support/users/nastasiu/)
 * (@nastasiu)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/use-table-prefix/)
 * Hi,
 * Brilliant plugin!
    But I’ve noticed a problem when I was migrating a site with
   Duplicator: your plugin creates a table in the database, but does not consider
   the table prefix set by wordpress (default is wp_).
 * Here is the fix:
    edit line 15 in inc/class-wptg-db-table.php to `$this->table_name
   = $this->db->prefix."wptg_tables";`

The topic ‘Use table prefix’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/table-generator_394f3e.svg)
 * [Table Generator](https://wordpress.org/plugins/table-generator/)
 * [Support Threads](https://wordpress.org/support/plugin/table-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/table-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/table-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/table-generator/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Vlad](https://wordpress.org/support/users/nastasiu/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/use-table-prefix/)
 * Status: not resolved