function DatabaseSchema::fieldSetNoDefault
Set a field to have no default value.
Parameters
$table: The table to be altered.
$field: The field to be altered.
Throws
DatabaseSchemaObjectDoesNotExistException If the specified table or field doesn't exist.
3 methods override DatabaseSchema::fieldSetNoDefault()
- DatabaseSchema_mysql::fieldSetNoDefault in includes/
database/ mysql/ schema.inc - Set a field to have no default value.
- DatabaseSchema_pgsql::fieldSetNoDefault in includes/
database/ pgsql/ schema.inc - Set a field to have no default value.
- DatabaseSchema_sqlite::fieldSetNoDefault in includes/
database/ sqlite/ schema.inc - Set a field to have no default value.
File
-
includes/
database/ schema.inc, line 547
Class
- DatabaseSchema
- Base class for database schema definitions.
Code
public abstract function fieldSetNoDefault($table, $field);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.