1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/docs/Configuration - Custom primary key column.php
2007-04-13 21:49:11 +00:00

11 lines
186 B
PHP

<code type="php">
// custom primary key column name
class Group extends Doctrine_Record {
public function setUp() {
$this->setPrimaryKeyColumn("group_id");
}
}
</code>