public createDomain ( $domain, $type, $length, $array, $notnull, $default, $check ) | ||
$domain | The name of the domain to create | |
$type | The base type for the domain | |
$length | Optional type length | |
$array | True for array type, false otherwise | |
$notnull | True for NOT NULL, false otherwise | |
$default | Default value for domain | |
$check | A CHECK constraint if there is one |