1 schema.inc | abstract public DatabaseSchema::fieldSetDefault($table, $field, $default) |
Set the default value for a field.
Parameters
string $table: The table to be altered.
string $field: The field to be altered.
mixed $default: Default value to be set. NULL for 'default NULL'.
Return value
void:
Throws
DatabaseSchemaObjectDoesNotExistException If the specified table or field doesn't exist.
File
- core/
includes/ database/ schema.inc, line 480 - Generic Database schema code.
Class
- DatabaseSchema
- Base class for database schema definitions.
Code
abstract public function fieldSetDefault($table, $field, $default);