Open reasecret opened 1 year ago
I'm using uuid for my model's id column and taggable_id column type is BIGINT. There is a conflict with column types.
Maybe this option can be change on "taggable.php" config file like this:
'uuid' => true,
And this config could be check on migration file:
if (config('taggable.uuid')) { $table->uuidMorphs('taggable'); } else { $table->morphs('taggable'); }
This is just a suggestion.
Good idea @reasecret ! If you want to put together a PR for this feature, I'd be happy to add it quickly.
I'm using uuid for my model's id column and taggable_id column type is BIGINT. There is a conflict with column types.
Maybe this option can be change on "taggable.php" config file like this:
'uuid' => true,
And this config could be check on migration file:
This is just a suggestion.