root/tags/0.10.0/models/Bookmark.php

Revision 3096, 262 bytes (checked in by dbrewer, 14 months ago)

Added test case for #587, and models to support that test case.

Line 
1<?php
2class Bookmark extends Doctrine_Record
3{
4    public function setTableDefinition()
5    {
6        $this->hasColumn('user_id', 'integer', null, array('primary' => true));
7        $this->hasColumn('page_id', 'integer', null, array('primary' => true));
8    }
9}
Note: See TracBrowser for help on using the browser.