add table viewing page
This commit is contained in:
@@ -79,7 +79,7 @@ class Table extends Model
|
||||
/** Active revision */
|
||||
public function activeRevision()
|
||||
{
|
||||
return $this->hasOne(Revision::class, 'revision_id');
|
||||
return $this->belongsTo(Revision::class, 'revision_id');
|
||||
}
|
||||
|
||||
/** Proposals submitted to this table */
|
||||
|
||||
Reference in New Issue
Block a user