AdminsTableSeeder.php 417 B

12345678910111213141516171819202122
  1. <?php
  2. use Illuminate\Database\Seeder;
  3. use Illuminate\Support\Facades\DB;
  4. class AdminsTableSeeder extends Seeder
  5. {
  6. /**
  7. * Run the database seeds.
  8. *
  9. * @return void
  10. */
  11. public function run()
  12. {
  13. DB::table('admins')->insert([
  14. 'name' => 'Ashik Revinr',
  15. 'email' => 'ashik@revinr.com',
  16. 'password' => bcrypt(123456),
  17. 'status' => 1
  18. ]);
  19. }
  20. }