make app database

This commit is contained in:
Meghdad committed 2026-07-22 15:46:41 +03:30
1 parent 78d276dd5d
commit 56a52be180
24 files changed
+1046 -7

No files matched your search

+3 -7
View File
@@ -2,7 +2,6 @@
namespace Database\Seeders;
use App\Models\User;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
@@ -15,11 +14,8 @@ class DatabaseSeeder extends Seeder
*/
public function run(): void
{
// User::factory(10)->create();
User::factory()->create([
'name' => 'Test User',
'email' => 'test@example.com',
]);
if (app()->environment('local')) {
$this->call(BankFlowDevelopmentSeeder::class);
}
}
}