add nested array validation to form requests
This commit is contained in:
@@ -13,8 +13,8 @@ return new class extends Migration
|
||||
{
|
||||
Schema::create('azmayesh_field_azmayesh_type', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->foreignId('azmayesh_field_id')->constrained('azmayesh_fields');
|
||||
$table->foreignId('azmayesh_type_id')->constrained('azmayesh_types');
|
||||
$table->foreignId('azmayesh_field_id')->constrained('azmayesh_fields')->cascadeOnDelete();
|
||||
$table->foreignId('azmayesh_type_id')->constrained('azmayesh_types')->cascadeOnDelete();
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user