integer('service_contract_priority_id')->unsigned()->nullable()->change(); $table->foreign('service_contract_priority_id')->references('id')->on('service_contracts_dict_priority'); $table->integer('service_contract_status_id')->unsigned()->nullable()->change(); $table->foreign('service_contract_status_id')->references('id')->on('service_contracts_dict_status'); $table->integer('account_id')->unsigned()->nullable()->change(); $table->foreign('account_id')->references('id')->on('accounts'); }); } /** * Reverse the migrations. * * @return void */ public function down() { // } }