server/src/app/Models/CocoonDocument.php
author ymh <ymh.work@gmail.com>
Sat, 10 Jun 2017 18:39:39 +0200
changeset 535 526d3f084753
parent 18 f2a40bbc27f6
permissions -rw-r--r--
make sparql view work again

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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