cartalyst / tags

A Tagging package that easily allows you to add tags to your Eloquent models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot create tags

rawcreative opened this issue · comments

Anytime I try to add tags to a model I get SQL error that 'count' has no default value. Since firstOrCreate calls save on the model, and since the count hasn't been provided it obviously fails. The provided migration either needs to set the count field to nullable or provide a default value.

Thanks for the report :)