1
0
mirror of synced 2024-12-14 07:06:04 +03:00
doctrine2/manual/docs/Configuration - Custom primary key column.php

11 lines
195 B
PHP
Raw Normal View History

<code type="php">
2006-07-24 01:08:06 +04:00
// custom primary key column name
class Group extends Doctrine_Record {
public function setUp() {
$this->setPrimaryKeyColumn("group_id");
}
}
</code>