Include trashed per @marcusmoore
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1a0e1b5f6c
commit
5e0128c9dc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue