public function DatabaseSchemaInterface::fieldSetNoDefault in Schema 8
Set a field to have no default value.
Parameters
$table: The table to be altered.
$field: The field to be altered.
Throws
\Drupal\Core\Database\SchemaObjectDoesNotExistException If the specified table or field doesn't exist.
File
- src/
DatabaseSchemaInterface.php, line 157 - Contains Drupal\schema\DatabaseSchemaInterface.
Class
- DatabaseSchemaInterface
- This interface describes public methods of \Drupal\Core\Database\Schema.
Namespace
Drupal\schemaCode
public function fieldSetNoDefault($table, $field);