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);
});
}
};
+10
View File
@@ -15,6 +15,16 @@ class PhotoprofileSeeder extends Seeder
'active' => true,
'commands' => 'simplelocalcontrast_p 16,2,0,1,1,1,1,1,1,1,1,0
cl_comic 4,1,0,0,1,15,15,1,10,20,6,2,0,0,0,0,0,0,50,50',
],
[
'name' => 'edges',
'active' => true,
'commands' => 'fx_canny 5,0.05,0.15,1',
],
[
'name' => 'tron',
'active' => true,
'commands' => 'samj_chalkitup 5,2.5,1.5,50,1,5,5,0,0,7,0.8,1.9,7,0',
]
];