database/migrations/2019_11_08_160320_add_details_to_users_table.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('users', function (Blueprint $table) {
            $table->dropColumn('avatar_public_id');
            $table->dropColumn('birthday');
            $table->dropColumn('phone');
            $table->dropColumn('introduction');
            $table->dropColumn('biography');
            $table->dropColumn('facebook_link');
            $table->dropColumn('twitter_link');
            $table->dropColumn('youtube_link');
        });
    }
public function down ( ) { Schema :: table ( 'users' , function ( Blueprint $ table ) { $ table -> dropColumn ( 'avatar_public_id' ) ; $ table -> dropColumn ( 'birthday' ) ; $ table -> dropColumn ( 'phone' ) ; $ table -> dropColumn ( 'introduction' ) ; $ table -> dropColumn ( 'biography' ) ; $ table -> dropColumn ( 'facebook_link' ) ; $ table -> dropColumn ( 'twitter_link' ) ; $ table -> dropColumn ( 'youtube_link' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .