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