datatable.directory codebase https://datatable.directory/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
datatable.directory/app/Models/Changeset.php

21 lines
368 B

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Changeset extends Model
{
/** Parent data table */
public function dataTable()
{
return $this->belongsTo(DataTable::class);
}
/** Author who created it user */
public function author()
{
return $this->belongsTo(User::class, 'author_id');
}
}