I have pivot table taggable, it's table for Many To Many Polymorphic Relations (Tag and post) in Laravel:
taggable_id - id of Post
tag_id - id of Tag
taggable type - location of post model (default value"App/Models/Posts/Post")
is_search_term - boolen (0 or 1)
How create seeder which for post with id 1 (taggable_id) set 0 tag id.
For post with id 2 set tag id 1.
For post with id 3 set tag id 1 and id 2.