1
0
mirror of synced 2025-01-09 02:27:10 +03:00
doctrine2/manual/codes/Object relational mapping - Record identifiers - Autoincremented.php

9 lines
176 B
PHP
Raw Normal View History

2006-08-08 13:07:55 +04:00
<?php
class User extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('uid','integer',20,'primary|autoincrement');
2006-08-08 13:07:55 +04:00
}
}
?>