2012-02-02 06:57:39 +04:00
|
|
|
<?php
|
2012-04-14 09:10:44 +04:00
|
|
|
$metadata->setAttributeOverride('id', array(
|
|
|
|
'columnName' => 'guest_id',
|
|
|
|
'type' => 'integer',
|
|
|
|
'length' => 140,
|
|
|
|
));
|
|
|
|
|
|
|
|
$metadata->setAttributeOverride('name',array(
|
|
|
|
'columnName' => 'guest_name',
|
|
|
|
'nullable' => false,
|
|
|
|
'unique' => true,
|
|
|
|
'length' => 240,
|
|
|
|
));
|