X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/f77236aa3832a5a0f050e097c60189b9b6a19969..f139cded789908efce3ac2ed1be26b947df647db:/app/Actions/Comment.php diff --git a/app/Actions/Comment.php b/app/Actions/Comment.php index 34fd84709..885ba6ed1 100644 --- a/app/Actions/Comment.php +++ b/app/Actions/Comment.php @@ -4,6 +4,7 @@ namespace BookStack\Actions; use BookStack\Model; use BookStack\Traits\HasCreatorAndUpdater; +use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Relations\MorphTo; /** @@ -15,6 +16,7 @@ use Illuminate\Database\Eloquent\Relations\MorphTo; */ class Comment extends Model { + use HasFactory; use HasCreatorAndUpdater; protected $fillable = ['text', 'parent_id'];