diff options
author | Jennifer Hodgdon <yahgrp@poplarware.com> | 2014-06-06 11:54:24 -0700 |
---|---|---|
committer | Jennifer Hodgdon <yahgrp@poplarware.com> | 2014-06-06 11:54:24 -0700 |
commit | 7e1429630dd0c3be3b9a387b709541a3440f5905 (patch) | |
tree | fb7a12bc3be05eb1527cd173cf611b5b673b3030 /includes/database | |
parent | e2b5ce9b4397f121d9ddb1700b818c0684c0e972 (diff) | |
download | brdo-7e1429630dd0c3be3b9a387b709541a3440f5905.tar.gz brdo-7e1429630dd0c3be3b9a387b709541a3440f5905.tar.bz2 |
Issue #2273337 by vegantriathlete, ducktape, joachim: Fix up docs for db_add_field and related functions
Diffstat (limited to 'includes/database')
-rw-r--r-- | includes/database/database.inc | 4 | ||||
-rw-r--r-- | includes/database/schema.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc index ad78ac0b6..f78098bc0 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -2832,7 +2832,7 @@ function db_drop_table($table) { * will be set to the value of the key in all rows. This is most useful for * creating NOT NULL columns with no default value in existing tables. * @param $keys_new - * Optional keys and indexes specification to be created on the table along + * (optional) Keys and indexes specification to be created on the table along * with adding the field. The format is the same as a table specification, but * without the 'fields' element. If you are adding a type 'serial' field, you * MUST specify at least one key or index including it in this array. See @@ -3012,7 +3012,7 @@ function db_drop_index($table, $name) { * @param $spec * The field specification for the new field. * @param $keys_new - * Optional keys and indexes specification to be created on the table along + * (optional) Keys and indexes specification to be created on the table along * with changing the field. The format is the same as a table specification * but without the 'fields' element. */ diff --git a/includes/database/schema.inc b/includes/database/schema.inc index d3943b29b..68843a49c 100644 --- a/includes/database/schema.inc +++ b/includes/database/schema.inc @@ -416,7 +416,7 @@ abstract class DatabaseSchema implements QueryPlaceholderInterface { * This is most useful for creating NOT NULL columns with no default * value in existing tables. * @param $keys_new - * Optional keys and indexes specification to be created on the + * (optional) Keys and indexes specification to be created on the * table along with adding the field. The format is the same as a * table specification but without the 'fields' element. If you are * adding a type 'serial' field, you MUST specify at least one key @@ -630,7 +630,7 @@ abstract class DatabaseSchema implements QueryPlaceholderInterface { * @param $spec * The field specification for the new field. * @param $keys_new - * Optional keys and indexes specification to be created on the + * (optional) Keys and indexes specification to be created on the * table along with changing the field. The format is the same as a * table specification but without the 'fields' element. * |