remove compose file to another repo

This commit is contained in:
2025-05-05 15:30:11 +03:30
parent 02ef3ae2ad
commit 3b739558ee
179 changed files with 130 additions and 341 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;
class UserSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$admin = User::query()->create([
'full_name' => 'Witel Company',
'username' => 'witel',
'phone_number' => '09000000000',
'national_id' => '0150257083',
'password' => Hash::make('Witel@fani0'),
'email' => 'witel@gmail.com',
'position' => 'Software Engineer',
'province_id' => 9,
'province_fa' => "تهران",
'telephone_id' => 0,
]);
// $admin->givePermissionTo(\App\Models\Permission::all());
}
}