Automattic\WooCommerce\Database\Migrations
MetaToCustomTableMigrator::get_destination_table_primary_id_schema()
Generate schema for primary ID column of destination table.
Метод класса: MetaToCustomTableMigrator{}
Хуков нет.
Возвращает
Массив[]
. Schema for primary ID column.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_destination_table_primary_id_schema(): array;
Код MetaToCustomTableMigrator::get_destination_table_primary_id_schema() MetaToCustomTableMigrator::get destination table primary id schema WC 7.5.1
private function get_destination_table_primary_id_schema(): array { return array( 'destination_primary_key' => array( 'destination' => $this->schema_config['destination']['primary_key'], 'type' => $this->schema_config['destination']['primary_key_type'], ), ); }