1 database.inc | db_drop_field($table, $field) |
Drops a field.
Parameters
string $table: The table to be altered.
string $field: The field to be dropped.
Related topics
File
- core/
includes/ database/ database.inc, line 3140 - Core systems for the database layer.
Code
function db_drop_field($table, $field) {
return Database::getConnection()->schema()->dropField($table, $field);
}