diff --git a/database/migrations/2025_05_28_095114_create_testing_panel_readings_table.php b/database/migrations/2025_05_28_095114_create_testing_panel_readings_table.php index f6ee482..8a5dd6e 100644 --- a/database/migrations/2025_05_28_095114_create_testing_panel_readings_table.php +++ b/database/migrations/2025_05_28_095114_create_testing_panel_readings_table.php @@ -75,7 +75,7 @@ return new class extends Migration UNIQUE (plant_id, motor_testing_master_id, serial_number, machine_id, line_id, rework_count, update_count), FOREIGN KEY (plant_id) REFERENCES plants (id), - FOREIGN KEY (motor_testing_master_id) REFERENCES motor_testing_masters(id), + FOREIGN KEY (motor_testing_master_id) REFERENCES motor_testing_masters (id), FOREIGN KEY (machine_id) REFERENCES machines (id), FOREIGN KEY (line_id) REFERENCES lines (id) );