mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Include trashed per @marcusmoore
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1a0e1b5f6c
commit
5e0128c9dc
|
@ -27,7 +27,7 @@ class FixLanguageDirs extends Migration
|
|||
/**
|
||||
* Update the users table
|
||||
*/
|
||||
$users = User::whereNotNull('locale')->whereNull('deleted_at')->get();
|
||||
$users = User::whereNotNull('locale')->get();
|
||||
// Skip the model in case the validation rules have changed
|
||||
foreach ($users as $user) {
|
||||
DB::table('users')->where('id', $user->id)->update(['locale' => Helper::mapLegacyLocale($user->locale)]);
|
||||
|
|
Loading…
Reference in a new issue