database/seeders/AdministrativosSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        $admin = new administrativos();
        $admin->id_persona = 71;
        $admin->profesion = "Lic. Pedagogia";
        $admin->id_usuario = 11;
        $admin->save();
        $admin = new administrativos();
        $admin->id_persona = 72;
        $admin->profesion = "Lic. Contabilidad";
        $admin->id_usuario = 12;
        $admin->save();
    }
public function run ( ) { $ admin = new administrativos ( ) ; $ admin -> id_persona = 71 ; $ admin -> profesion = " Lic. Pedagogia " ; $ admin -> id_usuario = 11 ; $ admin -> save ( ) ; $ admin = new administrativos ( ) ; $ admin -> id_persona = 72 ; $ admin -> profesion = " Lic. Contabilidad " ; $ admin -> id_usuario = 12 ; $ admin -> save ( ) ; }
Run the database seeds.
Run the database seeds .