entyy_id add to tag migration
This commit is contained in:
@ -52,6 +52,8 @@ class TagModule extends Module
|
||||
{
|
||||
$model = new Tag();
|
||||
$model->entity = $entity;
|
||||
Debug::dd($request->post());
|
||||
$model->entity_id = 1;
|
||||
$model->label = $request->post('tag');
|
||||
$model->status = Tag::ACTIVE_STATUS;
|
||||
$model->slug = Slug::createSlug($request->post('tag'), $model);
|
||||
|
Reference in New Issue
Block a user