diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-03 20:42:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-03 20:42:38 +0000 |
commit | 0b6e0b605ca0047e74428a72c96e819dd10392de (patch) | |
tree | 191eff45e7d9d64ddeece99e81c28438d899db31 | |
parent | ca8416e03637b99cf5846e6e3116ce4d2fcee5a0 (diff) | |
download | brdo-0b6e0b605ca0047e74428a72c96e819dd10392de.tar.gz brdo-0b6e0b605ca0047e74428a72c96e819dd10392de.tar.bz2 |
- Patch #637058 by jhodgdon: documentation improvements.
-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); |