mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -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')
|
App\Models\Asset::where('rtd_location_id', '=', '0')
|
||||||
->update(['rtd_location_id' => null]);
|
->update(['rtd_location_id' => null]);
|
||||||
|
|
||||||
App\Models\User::where('location_id', '0')
|
App\Models\User::where('location_id', '=', '0')
|
||||||
->update(['location_id' => null]);
|
->update(['location_id' => null]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue