File: /home/xedaptot/be.naniguide.com/database/migrations/2021_05_22_180347_update_unsubscribe_logs.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class UpdateUnsubscribeLogs extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('unsubscribe_logs', function (Blueprint $table) {
$table->dropForeign(['message_id']);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('unsubscribe_logs', function (Blueprint $table) {
//
});
}
}