File Manager Lite
Dir:
/home/u540325668/domains/sostabazar.in/public_html/database/seeders
Upload
[..]
DatabaseSeeder.php (471 B)
Edit
Rename
Del
RolesTableSeeder.php (1.04 KB)
Edit
Rename
Del
UsersTableSeeder.php (3.79 KB)
Edit
Rename
Del
Edit: UsersTableSeeder.php
<?php namespace Database\Seeders; use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; use DB; class UsersTableSeeder extends Seeder { /** * Run the database seeds. */ public function run(): void { DB::table('users')->insert([ 'role_id' => '1', 'block_id' =>'WestBengal', 'clrc_id' =>'WestBengal', 'uDISE' =>'19', 'nameOfSchool' => 'superAdmin', 'village' => 'Hatimari', 'po' => 'Hatimari', 'ps' => 'Gazole', 'dist' => 'Malda', 'pin' => '732124', 'schoolType' => 'S', 'createdByID' =>'1', 'mobile2' => '9853554321', 'email' => 'kinkar12@gmail.com', 'mobile' => '987644321', 'password' => bcrypt('kinkar12'), ]); DB::table('users')->insert([ 'role_id' => '2', 'block_id' =>'District', 'clrc_id' =>'District', 'uDISE' =>'1906', 'nameOfSchool' => 'Malda', 'village' => 'Malda', 'po' => 'Malda', 'ps' => 'Malda', 'dist' => 'Malda', 'pin' => '732102', 'schoolType' => 'D', 'createdByID' =>'1', 'mobile2' => '9853554321', 'email' => 'ssmmalda@gmail.com', 'mobile' => '987644321', 'password' => bcrypt('ssmmalda'), ]); DB::table('users')->insert([ 'role_id' => '3', 'block_id' =>'Block', 'clrc_id' =>'Block', 'uDISE' =>'190615', 'nameOfSchool' => 'Gazole', 'village' => 'Gazole', 'po' => 'Gazole', 'ps' => 'Gazole', 'dist' => 'Gazole', 'pin' => '732125', 'schoolType' => 'B', 'createdByID' =>'1', 'mobile2' => '9853554321', 'email' => 'gazoleblock@gmail.com', 'mobile' => '987644321', 'password' => bcrypt('gazoleblock'), ]); DB::table('users')->insert([ 'role_id' => '4', 'block_id' =>'Gazole', 'clrc_id' =>'CLRC', 'uDISE' =>'190625', 'nameOfSchool' => 'Gazole', 'village' => 'Gazole', 'po' => 'Gazole', 'ps' => 'Gazole', 'dist' => 'Gazole', 'pin' => '732102', 'schoolType' => 'C', 'createdByID' =>'1', 'mobile2' => '9853554321', 'email' => 'gazoleclrc@gmail.com', 'mobile' => '987644321', 'password' => bcrypt('gazoleclrc'), ]); DB::table('users')->insert([ 'role_id' => '5', 'block_id' =>'190615', 'clrc_id' =>'190625', 'uDISE' =>'190615', 'nameOfSchool' => 'Babupur', 'village' => 'Babupur', 'po' => 'Babupur', 'ps' => 'Babupur', 'dist' => 'Babupur', 'pin' => '732102', 'schoolType' => 'D', 'createdByID' =>'1', 'mobile2' => '9853554321', 'email' => 'babupurcrc@gmail.com', 'mobile' => '987644321', 'password' => bcrypt('babupurcrc'), ]); DB::table('users')->insert([ 'role_id' => '6', 'block_id' =>'190615', 'clrc_id' =>'190625', 'uDISE' =>'19061511103', 'nameOfSchool' => 'Hatimari High School', 'village' => 'Hatimari', 'po' => 'Hatimari', 'ps' => 'Hatimari', 'dist' => 'Hatimari', 'pin' => '732124', 'schoolType' => 'H', 'createdByID' =>'1', 'mobile2' => '9853554321', 'email' => 'hatimarihigh@gmail.com', 'mobile' => '987644321', 'password' => bcrypt('hatimarihigh'), ]); } }
Simpan