SilverStripe\PostgreSQL\PostgreSQLSchemaManager::alterField
Change the database type of the given field.
Signature
public function alterField(string
$tableName,
string
$fieldName,
string
$fieldSpec )
Parameters
$tableName
— string- The name of the tbale the field is in.
$fieldName
— string- The name of the field to change.
$fieldSpec
— string- The new field specification