feat: add ColumnComment model and migration for tracking field-level comments
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ColumnComment extends Model
|
||||
{
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'column_comments';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'table_name',
|
||||
'record_id',
|
||||
'column_name',
|
||||
'comment',
|
||||
'column_value',
|
||||
'user_id',
|
||||
'ip_address'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user