more seeders, drop-down for profile

This commit is contained in:
DigitalInfinity committed 2026-06-28 15:36:47 +00:00
1 parent 3ccc525313
commit a4a36087e4
6 files changed
+66 -3

No files matched your search

@@ -0,0 +1,28 @@
<?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('photo_jobs', function (Blueprint $table) {
$table->foreignId('photoprofile_id')->nullable()->constrained('photoprofiles')->nullOnDelete();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('photo_jobs', function (Blueprint $table) {
$table->dropForeignIdFor(\App\Models\Photoprofile::class);
});
}
};