30 lines
595 B
PHP
30 lines
595 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Facades\DB;
|
|
use Illuminate\Support\Facades\Hash;
|
|
use Illuminate\Support\Str;
|
|
|
|
class DatabaseSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the application's database.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
// $this->call(UserSeeder::class) TABLES;
|
|
/* DB::table('products')->insert([
|
|
[
|
|
'name' => 'Project',
|
|
'price' => 100,
|
|
],
|
|
[
|
|
'name' => 'Project1',
|
|
'price' => 101,
|
|
],
|
|
]); */
|
|
}
|
|
}
|