2007-09-02 14:24:49 +00:00
|
|
|
<?php
|
|
|
|
class TestMovieUserVote extends Doctrine_Record
|
|
|
|
{
|
2008-02-03 21:29:57 +00:00
|
|
|
public static function initMetadata($class) {
|
|
|
|
$class->setColumn('vote', 'string', 30);
|
|
|
|
$class->setColumn('user_id', 'integer', null, array('primary' => true));
|
|
|
|
$class->setColumn('movie_id', 'integer', null, array('primary' => true));
|
2007-09-02 14:24:49 +00:00
|
|
|
}
|
|
|
|
}
|