From 8c262922800d5baa8bea10e85196fe24ba0240e9 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 3 Nov 2018 14:46:16 -0400 Subject: [PATCH] Try this --- includes/schema.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/schema.php b/includes/schema.php index a8a5739..82b1730 100644 --- a/includes/schema.php +++ b/includes/schema.php @@ -319,7 +319,10 @@ function purge_all_data() { " ) ); $wpdb->query( $wpdb->prepare( - "DROP TABLE {$pfx}pterotype_objects, {$pfx}pterotype_actors" + "DROP TABLE {$pfx}pterotype_actors" + ) ); + $wpdb->query( $wpdb->prepare( + "DROP TABLE {$pfx}pterotype_objects" ) ); \delete_option( 'pterotype_previously_migrated_version' ); }