]> BookStack Code Mirror - bookstack/blobdiff - app/Actions/Tag.php
Laravel 8 shift squash & merge (#3029)
[bookstack] / app / Actions / Tag.php
index ce0954f00cd347c50e21806caa8949d256a863cd..db9328b7d59e0f4b2ebd74faf449a523bc3a1426 100644 (file)
@@ -3,10 +3,13 @@
 namespace BookStack\Actions;
 
 use BookStack\Model;
+use Illuminate\Database\Eloquent\Factories\HasFactory;
 use Illuminate\Database\Eloquent\Relations\MorphTo;
 
 class Tag extends Model
 {
+    use HasFactory;
+
     protected $fillable = ['name', 'value', 'order'];
     protected $hidden = ['id', 'entity_id', 'entity_type', 'created_at', 'updated_at'];