database/migrations/2022_01_31_034033_add_id_role_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->dropForeign(['id_role']);
            $table->dropColumn(['id_role']);
        });
    }
public function down ( ) { Schema :: table ( 'users' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'id_role' ] ) ; $ table -> dropColumn ( [ 'id_role' ] ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .