abstract public 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 drupal/includes/database/mysql/schema.inc
Set a field to have no default value.
DatabaseSchema_pgsql::fieldSetNoDefault in drupal/includes/database/pgsql/schema.inc
Set a field to have no default value.
DatabaseSchema_sqlite::fieldSetNoDefault in drupal/includes/database/sqlite/schema.inc
Set a field to have no default value.

File

drupal/includes/database/schema.inc, line 479

Class

DatabaseSchema
Base class for database schema definitions.

Code

public abstract function fieldSetNoDefault($table, $field);