12345678910111213141516171819202122 |
- <?php
- use Illuminate\Database\Seeder;
- use Illuminate\Support\Facades\DB;
- class AdminsTableSeeder extends Seeder
- {
- /**
- * Run the database seeds.
- *
- * @return void
- */
- public function run()
- {
- DB::table('admins')->insert([
- 'name' => 'Ashik Revinr',
- 'email' => 'ashik@revinr.com',
- 'password' => bcrypt(123456),
- 'status' => 1
- ]);
- }
- }
|