1
0
Fork 0
mirror of synced 2025-03-29 03:09:50 +03:00
doctrine2/manual/codes/Object relational mapping - Record identifiers - Natural.php

7 lines
161 B
PHP

<?php
class User extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('name','string',200,'primary');
}
}
?>