1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/manual/codes/Getting started - Record identifiers - Autoincremented.php

8 lines
174 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");
}
}
?>