Files
RomhackPlaza/database/migrations/2026_06_22_132647_delete_gallery_constraint.php
2026-06-23 19:24:38 +02:00

27 lines
511 B
PHP

<?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('galleries', function (Blueprint $table) {
$table->dropForeign('entry_galleries_entry_id_foreign');
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
//
}
};