database/migrations/2020_07_29_200514_add_login_pictures_to_homepage.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('homepages', function (Blueprint $table) {
            $table->dropForeign(['big_login_photo_id']);
            $table->dropForeign(['small_login_photo_id']);
            $table->dropColumn('big_login_photo_id');
            $table->dropColumn('small_login_photo_id');
        });
    }
public function down ( ) { Schema :: table ( 'homepages' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'big_login_photo_id' ] ) ; $ table -> dropForeign ( [ 'small_login_photo_id' ] ) ; $ table -> dropColumn ( 'big_login_photo_id' ) ; $ table -> dropColumn ( 'small_login_photo_id' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .
//