This commit is contained in:
szabomarton
2025-04-03 12:05:18 +02:00
parent a1826a08f4
commit 836192656b
73 changed files with 10806 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class forgalomSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$path = 'C:\xampp\htdocs\PHP_digivagyok\20250403\KaticaBufe\adatok.sql';
DB::unprepared(file_get_contents($path));
$this->command->info('Adatok importálva!');
}
}