update code
This commit is contained in:
20
database/seeds/BookSeeder.php
Normal file
20
database/seeds/BookSeeder.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class BookSeeder extends Seeder
|
||||
{
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
DB::table('books')->insert([
|
||||
['name' => 'Văn bản đến'],
|
||||
['name' => 'Văn bản đi'],
|
||||
['name' => 'Văn bản nội bộ'],
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user