Automattic\WooCommerce\Database\Migrations
MetaToCustomTableMigrator::get_destination_table_primary_id_schema
Generate schema for primary ID column of destination table.
Метод класса: MetaToCustomTableMigrator{}
Хуков нет.
Возвращает
array[]. 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 11.3.0
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'],
),
);
}