✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ webm004.cluster127.gra.hosting.ovh.net ​🇻​♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾​♯➤ 2026

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.191
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/presentations/migrations//20200420073606_AddColumnsToIndexables.php
<?php

namespace Yoast\WP\SEO\Config\Migrations;

use Yoast\WP\Lib\Migrations\Migration;
use Yoast\WP\Lib\Model;

/**
 * Class AddColumnsToIndexables.
 */
class AddColumnsToIndexables extends Migration {

	/**
	 * The plugin this migration belongs to.
	 *
	 * @var string
	 */
	public static $plugin = 'free';

	/**
	 * Migration up.
	 *
	 * @return void
	 */
	public function up() {
		$tables  = $this->get_tables();
		$blog_id = \get_current_blog_id();
		foreach ( $tables as $table ) {
			$this->add_column(
				$table,
				'blog_id',
				'biginteger',
				[
					'null'    => false,
					'limit'   => 20,
					'default' => $blog_id,
				],
			);
		}

		$attr_limit_32 = [
			'null'  => true,
			'limit' => 32,
		];
		$attr_limit_64 = [
			'null'  => true,
			'limit' => 64,
		];

		$indexable_table = $this->get_indexable_table();
		$this->add_column( $indexable_table, 'language', 'string', $attr_limit_32 );
		$this->add_column( $indexable_table, 'region', 'string', $attr_limit_32 );
		$this->add_column( $indexable_table, 'schema_page_type', 'string', $attr_limit_64 );
		$this->add_column( $indexable_table, 'schema_article_type', 'string', $attr_limit_64 );
	}

	/**
	 * Migration down.
	 *
	 * @return void
	 */
	public function down() {
		$tables = $this->get_tables();
		foreach ( $tables as $table ) {
			$this->remove_column( $table, 'blog_id' );
		}

		$indexable_table = $this->get_indexable_table();
		$this->remove_column( $indexable_table, 'language' );
		$this->remove_column( $indexable_table, 'region' );
		$this->remove_column( $indexable_table, 'schema_page_type' );
		$this->remove_column( $indexable_table, 'schema_article_type' );
	}

	/**
	 * Retrieves the Indexable table.
	 *
	 * @return string The Indexable table name.
	 */
	protected function get_indexable_table() {
		return Model::get_table_name( 'Indexable' );
	}

	/**
	 * Retrieves the table names to use.
	 *
	 * @return string[] The table names to use.
	 */
	protected function get_tables() {
		return [
			$this->get_indexable_table(),
			Model::get_table_name( 'Indexable_Hierarchy' ),
			Model::get_table_name( 'Primary_Term' ),
		];
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
26 Sep 2026 12.13 PM
docteuh / users
0755
application
--
11 Sep 2026 6.54 AM
docteuh / users
0755
20171228151840_WpYoastIndexable.php
6.2 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20171228151841_WpYoastPrimaryTerm.php
1.522 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20190529075038_WpYoastDropIndexableMetaTableIfExists.php
0.87 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20191011111109_WpYoastIndexableHierarchy.php
1.56 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200408101900_AddCollationToTables.php
0.936 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200420073606_AddColumnsToIndexables.php
2.083 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200428123747_BreadcrumbTitleAndHierarchyReset.php
1.233 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200428194858_ExpandIndexableColumnLengths.php
1.766 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200429105310_TruncateIndexableTables.php
1.052 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200430075614_AddIndexableObjectIdAndTypeIndex.php
0.97 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200430150130_ClearIndexableTables.php
1.046 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200507054848_DeleteDuplicateIndexables.php
1.073 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200513133401_ResetIndexableHierarchyTable.php
0.74 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200609154515_AddHasAncestorsColumn.php
0.925 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200616130143_ReplacePermalinkHashIndex.php
2.245 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200617122511_CreateSEOLinksTable.php
2.469 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200702141921_CreateIndexableSubpagesIndex.php
1.234 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20200728095334_AddIndexesForProminentWordsOnIndexables.php
1.178 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20201202144329_AddEstimatedReadingTime.php
0.941 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20201216124002_ExpandIndexableIDColumnLengths.php
1.02 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20201216141134_ExpandPrimaryTermIDColumnLengths.php
1.006 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20210817092415_AddVersionColumnToIndexables.php
0.853 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20211020091404_AddObjectTimestamps.php
1.511 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20230417083836_AddInclusiveLanguageScore.php
0.925 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20260105111111_AddSeoLinksIndex.php
1.125 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
20260325155530_CreateExpiringStoreTable.php
1.409 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
abstract-presentation.php
2.336 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
code-generator.php
0.64 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager-20260827125158.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
icon-redirect-manager.svg
1.299 KB
23 Jun 2026 6.19 PM
docteuh / users
0644
loadable-interface.php
0.279 KB
23 Jun 2026 6.19 PM
docteuh / users
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF