database/migrations/2021_01_24_101016_add_more_specification_for_mobile_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('mobiles', function (Blueprint $table) {
            $table->dropColumn('screen_resolution');
            $table->dropColumn('screen_type');            
            $table->dropColumn('main_camera');
            $table->dropColumn('selfie_camera');
            $table->dropColumn('OS');
            $table->dropColumn('memory');
            $table->dropColumn('gpu');
            $table->dropColumn('cpu');
            $table->dropColumn('battery');
            $table->dropColumn('price');
        });
    }
public function down ( ) { Schema :: table ( 'mobiles' , function ( Blueprint $ table ) { $ table -> dropColumn ( 'screen_resolution' ) ; $ table -> dropColumn ( 'screen_type' ) ; $ table -> dropColumn ( 'main_camera' ) ; $ table -> dropColumn ( 'selfie_camera' ) ; $ table -> dropColumn ( 'OS' ) ; $ table -> dropColumn ( 'memory' ) ; $ table -> dropColumn ( 'gpu' ) ; $ table -> dropColumn ( 'cpu' ) ; $ table -> dropColumn ( 'battery' ) ; $ table -> dropColumn ( 'price' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .