namespace Yoast\WP\SEO\Config\Migrations;
use Yoast\WP\Lib\Migrations\Migration;
* CreateIndexableSubpagesIndex class.
class CreateIndexableSubpagesIndex extends Migration {
* The plugin this migration belongs to.
public static $plugin = 'free';
[ 'post_parent', 'object_type', 'post_status', 'object_id' ],
[ 'post_parent', 'object_type', 'post_status', 'object_id' ],
* Retrieves the table name to use for storing indexables.
* @return string The table name to use.
protected function get_table_name() {
return Model::get_table_name( 'Indexable' );