1
0
Fork 0
mirror of synced 2025-03-29 03:09:50 +03:00
doctrine2/manual/codes/Object relational mapping - Record identifiers - Composite.php

8 lines
237 B
PHP

<?php
class Groupuser extends Doctrine_Record {
public function setTableDefinition() {
$this->hasColumn('user_id', 'integer', 20, 'primary');
$this->hasColumn('group_id', 'integer', 20, 'primary');
}
}
?>