From 1920660b5c3702786de188e36875e94d90e8daa5 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 31 Oct 2018 07:56:30 -0400 Subject: [PATCH] Remove unused new table --- includes/schema.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/includes/schema.php b/includes/schema.php index 4ea3075..b3ffea9 100644 --- a/includes/schema.php +++ b/includes/schema.php @@ -221,20 +221,6 @@ function migration_1_2_0() { ADD url VARCHAR(255); " ); - $wpdb->query( - " - CREATE TABLE {$wpdb->prefix}pterotype_object_links ( - parent_id INT UNSIGNED NOT NULL, - child_id INT UNSIGNED NOT NULL, - PRIMARY KEY(parent_id, child_id), - FOREIGN KEY pt_object_links_parent_fk(parent_id) - REFERENCES {$wpdb->prefix}pterotype_objects(id), - FOREIGN KEY pt_object_links_child_fk(child_id) - REFERENCES {$wpdb->prefix}pterotype_objects(id) - ) - ENGINE=InnoDB DEFAULT CHARSET=utf8; - " - ); // Migrate existing objects to use the new url field $objects = $wpdb->get_results( "SELECT activitypub_id, object FROM {$wpdb->prefix}pterotype_objects",