1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC964.DDC964Guest.php
2012-04-21 01:43:18 -03:00

13 lines
326 B
PHP

<?php
$metadata->setAttributeOverride('id', array(
'columnName' => 'guest_id',
'type' => 'integer',
'length' => 140,
));
$metadata->setAttributeOverride('name',array(
'columnName' => 'guest_name',
'nullable' => false,
'unique' => true,
'length' => 240,
));