database/migrations/2020_07_29_100548_create_pictures_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('pictures', function (Blueprint $table) {
            $table->dropForeign(['photo_id']);
        });
        Schema::dropIfExists('pictures');
    }
public function down ( ) { Schema :: table ( 'pictures' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'photo_id' ] ) ; } ) ; Schema :: dropIfExists ( 'pictures' ) ; }
Reverse the migrations.
Reverse the migrations .
//