• Micheal Mand's avatar
    Prevent race conditions by getting fresh data · 5a3ebbcb
    Micheal Mand authored
    If two of the same tag were to be supplied, both would be created (or attempt to be created, because the second one will fail DB unique index and throw an error). We can prevent this by fetching fresh data from the database before checking.
    5a3ebbcb
Name
Last commit
Last update
..
Assets/js/components Loading commit data...
Blade Loading commit data...
Config Loading commit data...
Contracts Loading commit data...
Database Loading commit data...
Entities Loading commit data...
Events Loading commit data...
Http Loading commit data...
Providers Loading commit data...
Repositories Loading commit data...
Resources Loading commit data...
Tests Loading commit data...
Traits Loading commit data...
Transformers Loading commit data...
.gitignore Loading commit data...
.scrutinizer.yml Loading commit data...
.sensiolabs.yml Loading commit data...
LICENSE.md Loading commit data...
changelog.yml Loading commit data...
composer.json Loading commit data...
module.json Loading commit data...
phpunit.xml.dist Loading commit data...