1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/models/TestMovieUserVote.php

10 lines
322 B
PHP

<?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));
}
}