--- a/thd/lib/model/doctrine/base/BaseThdFilm.class.php Wed Jun 01 14:07:43 2016 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,71 +0,0 @@
-<?php
-
-/**
- * This class has been auto-generated by the Doctrine ORM Framework
- */
-abstract class BaseThdFilm extends sfDoctrineRecord
-{
- public function setTableDefinition()
- {
- $this->setTableName('thd_film');
- $this->hasColumn('id', 'integer', 4, array(
- 'type' => 'integer',
- 'primary' => true,
- 'length' => '4',
- ));
- $this->hasColumn('ref', 'integer', 4, array(
- 'type' => 'integer',
- 'notnull' => true,
- 'length' => '4',
- ));
- $this->hasColumn('title', 'string', 255, array(
- 'type' => 'string',
- 'notnull' => true,
- 'length' => '255',
- ));
- $this->hasColumn('pitch', 'string', 2147483647, array(
- 'type' => 'string',
- 'notnull' => true,
- 'length' => '2147483647',
- ));
- $this->hasColumn('duration', 'integer', 4, array(
- 'type' => 'integer',
- 'notnull' => true,
- 'length' => '4',
- ));
- $this->hasColumn('directors', 'string', 2147483647, array(
- 'type' => 'string',
- 'notnull' => true,
- 'length' => '2147483647',
- ));
- $this->hasColumn('actors', 'string', 2147483647, array(
- 'type' => 'string',
- 'notnull' => true,
- 'length' => '2147483647',
- ));
- $this->hasColumn('slug_url', 'string', 255, array(
- 'type' => 'string',
- 'notnull' => true,
- 'length' => '255',
- ));
- $this->hasColumn('original_title', 'string', 255, array(
- 'type' => 'string',
- 'length' => '255',
- ));
- $this->hasColumn('production_year', 'integer', 8, array(
- 'type' => 'integer',
- 'length' => '8',
- ));
- }
-
- public function setUp()
- {
- $this->hasMany('ThdImage as images', array(
- 'local' => 'ref',
- 'foreign' => 'film_ref'));
-
- $this->hasMany('ThdVideo as videos', array(
- 'local' => 'ref',
- 'foreign' => 'film_ref'));
- }
-}
\ No newline at end of file