feat: implement AdminController for CMS management and AppServiceProvider for application bootstrapping
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ColumnComment extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'table_name',
|
||||
'record_id',
|
||||
'column_name',
|
||||
'comment',
|
||||
'column_value',
|
||||
'user_id',
|
||||
'ip_address',
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the user that created the comment.
|
||||
*/
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user