<?php
namespace Database\Seeders\Admin;
use App\Models\Admin\Admin;
use App\Models\Admin\AdminRole;
use Illuminate\Database\Seeder;
class RoleSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$data = [
[
"name" => "Super Admin",
"admin_id" => 1,
],
[
"name" => "Sub Admin",
"admin_id" => 1,
],
[
"name" => "Support Member",
"admin_id" => 1,
],
[
"name" => "Editor",
"admin_id" => 1,
],
[
"name" => "Moderator",
"admin_id" => 1,
],
];
AdminRole::upsert($data,["name"],["name","admin_id"]);
}
}
Payment Accept
Our platform simplifies payment acceptance, making transaction management effortless. With secure processing and user-friendly tools, you can easily handle payments from credit cards, debit cards, and digital methods. Our intuitive interface is designed for efficiency, ensuring a seamless experience for both you and your customers. Manage your transactions with ease and confidence.