1
0
mirror of synced 2024-12-16 16:16:04 +03:00
doctrine2/manual/codes/Object relational mapping - Record identifiers - Autoincremented.php
2007-02-23 22:44:57 +00:00

8 lines
174 B
PHP

<?php
class User extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn("uid","integer",20,"primary|autoincrement");
}
}
?>