Skip to content

Commit

Permalink
Update database/migrations/2022_08_27_110209_drop_admin_user_config.php
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Nagel <matthias.h.nagel@posteo.de>
  • Loading branch information
ildyria and nagmat84 authored Aug 27, 2022
1 parent 4aca4a4 commit 868d7dc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ class DropAdminUserConfig extends Migration
*/
public function up()
{
DB::table('configs')->where('key', '=', 'username')
->orWhere('key', '=', 'password')->delete();
DB::table('configs')
->whereIn('key', ['username', 'password'])
->delete();
}

/**
Expand Down

0 comments on commit 868d7dc

Please sign in to comment.