diff -r d2af8a210f5d -r 8e4fe6f3337d thd/lib/model/doctrine/base/BaseThdImage.class.php --- a/thd/lib/model/doctrine/base/BaseThdImage.class.php Wed Jun 01 14:07:43 2016 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ -setTableName('thd_image'); - $this->hasColumn('id', 'integer', 4, array( - 'type' => 'integer', - 'primary' => true, - 'autoincrement' => true, - 'length' => '4', - )); - $this->hasColumn('film_ref', 'integer', 4, array( - 'type' => 'integer', - 'notnull' => true, - 'length' => '4', - )); - $this->hasColumn('type', 'integer', 1, array( - 'type' => 'integer', - 'notnull' => true, - 'length' => '1', - )); - $this->hasColumn('file', 'string', 255, array( - 'type' => 'string', - 'notnull' => true, - 'length' => '255', - )); - } - - public function setUp() - { - $this->hasOne('ThdFilm', array( - 'local' => 'film_ref', - 'foreign' => 'ref')); - } -} \ No newline at end of file