fix CRM service hash migration

This commit is contained in:
Jérémy Munsch 2021-08-12 15:58:33 +02:00
parent 7ca7260296
commit d94f561b28

View file

@ -15,7 +15,7 @@ class HashApiKeysInServicesTable extends Migration
{
foreach (Service::all() as $service) {
$service->bearer_token = Hash::make($service->bearer_token);
$service->saveOrFail();
$service->saveQuietly();
}
}