1
0
mirror of synced 2025-02-03 22:09:26 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC964.DDC964Guest.php
2016-12-07 23:33:41 +01:00

17 lines
328 B
PHP

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