database/seeds/PlatformTypeSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('mst_platform_types')->insert(
            array(
                array("name" => "Instagram" , "created_at" => \Carbon\Carbon::now() , "updated_at" => \Carbon\Carbon::now()),
                array("name" => "Facebook" , "created_at" => \Carbon\Carbon::now() , "updated_at" => \Carbon\Carbon::now()),
                array("name" => "Yotube" , "created_at" => \Carbon\Carbon::now() , "updated_at" => \Carbon\Carbon::now()),
                array("name" => "Tiktok" , "created_at" => \Carbon\Carbon::now() , "updated_at" => \Carbon\Carbon::now()),
                array("name" => "Twitter" , "created_at" => \Carbon\Carbon::now() , "updated_at" => \Carbon\Carbon::now()),
            )
        );
    }
public function run ( ) { DB :: table ( 'mst_platform_types' ) -> insert ( array ( array ( " name " => " Instagram " , " created_at " => \ Carbon \ Carbon :: now ( ) , " updated_at " => \ Carbon \ Carbon :: now ( ) ) , array ( " name " => " Facebook " , " created_at " => \ Carbon \ Carbon :: now ( ) , " updated_at " => \ Carbon \ Carbon :: now ( ) ) , array ( " name " => " Yotube " , " created_at " => \ Carbon \ Carbon :: now ( ) , " updated_at " => \ Carbon \ Carbon :: now ( ) ) , array ( " name " => " Tiktok " , " created_at " => \ Carbon \ Carbon :: now ( ) , " updated_at " => \ Carbon \ Carbon :: now ( ) ) , array ( " name " => " Twitter " , " created_at " => \ Carbon \ Carbon :: now ( ) , " updated_at " => \ Carbon \ Carbon :: now ( ) ) , ) ) ; }
Run the database seeds.
Run the database seeds .