migrations/2017_05_31_031334_alter_foreign_keys_in_content_shortcuts_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('content_shortcuts', function (Blueprint $table) {
            $table->foreign('parent_id')->references('id')->on('content')->onUpdate('cascade')->onDelete('set null');
        });
    }
public function down ( ) { Schema :: table ( 'content_shortcuts' , function ( Blueprint $ table ) { $ table -> foreign ( 'parent_id' ) -> references ( 'id' ) -> on ( 'content' ) -> onUpdate ( 'cascade' ) -> onDelete ( 'set null' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .