database/seeders/PricePlanSeeder.php
/**
     * Run the database seeds.
     *
     * @return void
     */
Run the database seeds.
@return void
Run the database seeds . @return void
public function run()
    {
        DB::table('price_plans')->insert([
           ['name'=>'Basic','stripe_id'=>'price_1I1mXPCgYzmVVpXhHCUxxhiS', 'is_active' => true, 'monthly_price' => 5.0],
           ['name'=>'Pro','stripe_id'=>'price_1I1mXQCgYzmVVpXhffJPrBRe', 'is_active' => true, 'monthly_price' => 10.0],
        ]);
    }
public function run ( ) { DB :: table ( 'price_plans' ) -> insert ( [ [ 'name' => 'Basic' , 'stripe_id' => 'price_1I1mXPCgYzmVVpXhHCUxxhiS' , 'is_active' => true , 'monthly_price' => 5.0 ] , [ 'name' => 'Pro' , 'stripe_id' => 'price_1I1mXQCgYzmVVpXhffJPrBRe' , 'is_active' => true , 'monthly_price' => 10.0 ] , ] ) ; }
Run the database seeds.
Run the database seeds .