bigIncrements('id'); $table->string('name'); $table->timestamps(); }); foreach ($this->processMethods as $processMethod){ DB::insert(DB::raw("INSERT INTO process_methods(name,created_at,updated_at) VALUES(?,?,?)"),[ $processMethod,date("Y-m-d"),date("Y-m-d") ]); } } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('process_methods'); } }