diff --git a/database/migrations/2024_06_11_231143_add_rotessa_gateway.php b/database/migrations/2024_06_11_231143_add_rotessa_gateway.php index 264c8b0ee604..eaade6bb4357 100644 --- a/database/migrations/2024_06_11_231143_add_rotessa_gateway.php +++ b/database/migrations/2024_06_11_231143_add_rotessa_gateway.php @@ -1,8 +1,8 @@ id = $count + 4000; + $gateway->id = 4002; $gateway->name = 'Rotessa'; $gateway->key = Str::lower(Str::random(32)); $gateway->provider = 'Rotessa'; @@ -41,7 +41,7 @@ return new class extends Migration $gateway->default_gateway_type_id = 2; $gateway->save(); - Gateway::query()->where('name','=', 'Rotessa')->update(['visible' => 1]); + Gateway::query()->where('name','=', 'Rotessa')->update(['visible' => 1]); \DB::statement('SET FOREIGN_KEY_CHECKS=1;'); }