Automattic\WooCommerce\Database\Migrations
MetaToCustomTableMigrator::get_destination_table_primary_id_schema()
Generate schema for primary ID column of destination table.
Method of the class: MetaToCustomTableMigrator{}
No Hooks.
Return
Array[]
. Schema for primary ID column.
Usage
// private - for code of main (parent) class only $result = $this->get_destination_table_primary_id_schema(): array;
MetaToCustomTableMigrator::get_destination_table_primary_id_schema() MetaToCustomTableMigrator::get destination table primary id schema code WC 9.7.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'], ), ); }