feat: add ColumnComment model and migration for tracking field-level comments

This commit is contained in:
Ümit Tunç
2026-04-28 23:21:00 +03:00
parent b59ad54511
commit 8243ae831f
2 changed files with 69 additions and 0 deletions
+30
View File
@@ -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'
];
}