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