database/migrations/2021_02_07_113050_add_contractsand_comments_to_events.php
/**
     * Reverse the migrations.
     *
     * @return void
     */
Reverse the migrations.
@return void
Reverse the migrations . @return void
public function down()
    {
        Schema::table('events', function (Blueprint $table) {
            $table->dropForeign(['contract_status_id']);
            $table->dropColumn('contract_status_id');
            $table->dropColumn('comment_intern');
            $table->dropColumn('contract');
            $table->dropColumn('contract_signed');
        });
    }
public function down ( ) { Schema :: table ( 'events' , function ( Blueprint $ table ) { $ table -> dropForeign ( [ 'contract_status_id' ] ) ; $ table -> dropColumn ( 'contract_status_id' ) ; $ table -> dropColumn ( 'comment_intern' ) ; $ table -> dropColumn ( 'contract' ) ; $ table -> dropColumn ( 'contract_signed' ) ; } ) ; }
Reverse the migrations.
Reverse the migrations .
//