server/src/app/Models/CocoonDocument.php
author ymh <ymh.work@gmail.com>
Wed, 03 Feb 2016 00:40:35 +0100
changeset 114 8af5ed0521a2
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Correct modified value for SOUND when merging. This comes not from TEXT

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

class CocoonDocument extends Model
{
    public function revisions() {
        return $this->hasMany('CorpusParole\Models\CocoonDocument', 'document_id');
    }
}