mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Used consistent phrasing in query
This commit is contained in:
parent
be0e327221
commit
7987a4eca4
|
@ -21,7 +21,7 @@ class FixZeroValuesForLocations extends Migration
|
|||
App\Models\Asset::where('rtd_location_id', '=', '0')
|
||||
->update(['rtd_location_id' => null]);
|
||||
|
||||
App\Models\User::where('location_id', '0')
|
||||
App\Models\User::where('location_id', '=', '0')
|
||||
->update(['location_id' => null]);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue