1
0
mirror of synced 2024-12-15 07:36:03 +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));
}
}