diff options
-rw-r--r-- | includes/database/database.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc index 76e96ea17..33fa0fb7b 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -2442,22 +2442,22 @@ function db_field_set_no_default($table, $field) { } /** - * Add a primary key. + * Adds a primary key to a database table. * * @param $table - * The table to be altered. + * Name of the table to be altered. * @param $fields - * Fields for the primary key. + * Array of fields for the primary key. */ function db_add_primary_key($table, $fields) { return Database::getConnection()->schema()->addPrimaryKey($table, $fields); } /** - * Drop the primary key. + * Drops the primary key of a database table. * * @param $table - * The table to be altered. + * Name of the table to be altered. */ function db_drop_primary_key($table) { return Database::getConnection()->schema()->dropPrimaryKey($table); |