database/migrations/2019_04_16_223754_update_1555443474_products_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('products', function (Blueprint $table) {
                        $table->string('name')->nullable();
                $table->text('description')->nullable();
                $table->decimal('price', 15, 2)->nullable();
                $table->string('photo2')->nullable();
                $table->string('photo3')->nullable();
        });
    }
public function down ( ) { Schema :: table ( 'products' , function ( Blueprint $ table ) { $ table -> string ( 'name' ) -> nullable ( ) ; $ table -> text ( 'description' ) -> nullable ( ) ; $ table -> decimal ( 'price' , 15 , 2 ) -> nullable ( ) ; $ table -> string ( 'photo2' ) -> nullable ( ) ; $ table -> string ( 'photo3' ) -> nullable ( ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .