Function DatabaseConnector->change_primary_key

Definitions

sources/database.php

  • Change the primary key of a table.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: N/A

Parameters

Name Type Default Set Range Description
$table_name ID_TEXT required parameter N/A N/A The name of the table to create the index on
$new_key array required parameter N/A N/A A list of fields to put in the new key