public static function DecimalPropertyType::schema in Entity Construction Kit (ECK) 7.3
Schema.
Overrides PropertyTypeInterface::schema
File
- ./
eck.property_type.inc, line 281 - Property types.
Class
Code
public static function schema() {
$schema = array(
'description' => 'Decimal/Float/Double',
'type' => 'float',
'not null' => TRUE,
'default' => 0,
// Relevant only to int and float.
'unsigned' => FALSE,
);
return $schema;
}