Compare commits

...

1 Commits

Author SHA1 Message Date
kelly
9ab97b30e8 chore: Remove obsolete migration file 2025-11-24 23:32:59 -07:00

View File

@@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('broadcasts', function (Blueprint $table) {
$table->foreignId('marketing_channel_id')
->nullable()
->after('business_id')
->constrained('marketing_channels')
->nullOnDelete();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('broadcasts', function (Blueprint $table) {
$table->dropForeign(['marketing_channel_id']);
$table->dropColumn('marketing_channel_id');
});
}
};