database/migrations/2021_12_22_204211_add_image_column_to_contents.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('contents', function (Blueprint $table) {
            $table->dropForeign('contents_image_id_foreign');
            $table->dropColumn('image_id');
        });
    }
public function down ( ) { Schema :: table ( 'contents' , function ( Blueprint $ table ) { $ table -> dropForeign ( 'contents_image_id_foreign' ) ; $ table -> dropColumn ( 'image_id' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .