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' ); }