1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/models/TestMovieUserVote.php

10 lines
322 B
PHP
Raw Normal View History

<?php
class TestMovieUserVote extends Doctrine_Record
{
public function setTableDefinition() {
$this->hasColumn('vote', 'string', 30);
$this->hasColumn('user_id', 'integer', null, array('primary' => true));
$this->hasColumn('movie_id', 'integer', null, array('primary' => true));
}
}