1
0
mirror of synced 2025-01-10 19:17:10 +03:00
doctrine2/manual/codes/Object relational mapping - Record identifiers - Natural.php

8 lines
161 B
PHP
Raw Normal View History

2006-08-07 00:46:12 +04:00
<?php
class User extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('name','string',200,'primary');
2006-08-07 00:46:12 +04:00
}
}
?>