database/migrations/2019_10_24_235502_penyesuaian_table_user.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('username')->nullable();
            $table->dropColumn('roles');
            $table->dropColumn('phone');
            $table->dropColumn('avatar');
            $table->dropColumn('adress');
            $table->dropColumn('status');
        });
    }
public function down ( ) { Schema :: table ( 'users' , function ( Blueprint $ table ) { $ table -> dropColumn ( 'username' ) -> nullable ( ) ; $ table -> dropColumn ( 'roles' ) ; $ table -> dropColumn ( 'phone' ) ; $ table -> dropColumn ( 'avatar' ) ; $ table -> dropColumn ( 'adress' ) ; $ table -> dropColumn ( 'status' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .