abstract public function DatabaseSchema::dropField
7.x schema.inc | abstract public DatabaseSchema::dropField($table, $field) |
Drop a field.
Parameters
$table: The table to be altered.
$field: The field to be dropped.
Return value
TRUE if the field was successfully dropped, FALSE if there was no field by that name to begin with.
3 methods override DatabaseSchema::dropField()
- DatabaseSchema_mysql::dropField in drupal-7.x/
includes/ database/ mysql/ schema.inc - Drop a field.
- DatabaseSchema_pgsql::dropField in drupal-7.x/
includes/ database/ pgsql/ schema.inc - Drop a field.
- DatabaseSchema_sqlite::dropField in drupal-7.x/
includes/ database/ sqlite/ schema.inc - Drop a field.
File
- drupal-7.x/
includes/ database/ schema.inc, line 445 - Generic Database schema code.
Class
Code
abstract public function dropField($table, $field);