diff --git a/src/migrations.php b/src/migrations.php index 6a99ad5df..f679a2b70 100644 --- a/src/migrations.php +++ b/src/migrations.php @@ -419,6 +419,11 @@ class Migrations { } + static function update_repository_rename_document_index_meta_key() { + global $wpdb; + $wpdb->query( "UPDATE $wpdb->postmeta SET meta_key = 'document_content_index' WHERE meta_key = '_document_content_index'"); + } + }