1
0
mirror of synced 2024-12-16 08:06:02 +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");
}
}
?>