<?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"]);
}
}
Contact Section
We’d love to hear from you! Whether you have questions, feedback, or need support, our team is here to help. Reach out to us via email, phone, or visit our office. We’re committed to providing you with exceptional service and ensuring your experience with NFC Pay is seamless and satisfying. Let’s connect!