Skip to content

Commit

Permalink
correct migration
Browse files Browse the repository at this point in the history
  • Loading branch information
mrothauer committed Nov 30, 2023
1 parent c0a9211 commit 49d66bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/Migrations/20231114122353_InfoSheetAdaption.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function change(): void
$this->execute("DELETE FROM `form_field_options` WHERE `form_field_options`.`id` = 6;");
$this->execute("DELETE FROM `form_field_options` WHERE `form_field_options`.`id` = 7;");
$this->execute("INSERT INTO `form_field_options` (`id`, `form_field_id`, `value`, `name`, `rank`, `status`) VALUES (NULL, '5', '15', 'Fehler nicht gefunden', '95', '1');");
$this->execute("UPDATE `info_sheets` SET defect_found_reason = 15 WHERE defect_found = 0;");
$this->execute("UPDATE `info_sheets` SET defect_found_reason = 3, no_repair_reason = 15 WHERE defect_found = 0;");
$this->execute("DELETE FROM `form_field_options_extra_infos` WHERE `form_field_options_extra_infos`.`id` = 17;");
$this->execute("INSERT INTO `form_field_options_extra_infos` (`id`, `form_field_options_id`, `repair_status`, `repair_barrier_if_end_of_life`) VALUES (NULL, '29', 'end of life', NULL);");
}
Expand Down

0 comments on commit 49d66bb

Please sign in to comment.