public function manyToMany(Request $request)
    {
        if ($this->check($request->toArray())) {
            Session::flash('status', 'Error! could not be related');

            return redirect('scaffold');
        }
        $table1 = DB::table('scaffoldinterfaces')->where('tablename', $request->toArray()['table1'])->first();
        $table2 = DB::table('scaffoldinterfaces')->where('tablename', $request->toArray()['table2'])->first();
        $manytomany = new \Amranidev\ScaffoldInterface\ManyToMany\ManyToMany($request->except('_token'));
        $manytomany->burn();

        Relation::create([
            'scaffoldinterface_id' => $table1->id,
            'to'                   => $table2->id,
            'having'               => Relation::MANY_TO_MANY,
        ]);

        Session::flash('status', 'ManyToMany generated successfully');

        return redirect('/scaffold');
    }