1
0
mirror of synced 2024-12-14 23:26:04 +03:00
doctrine2/manual/docs/en/_old-docs/Configuration - Custom primary key column.php
2007-10-17 21:16:49 +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>