From: marina Date: Thu, 4 Jul 2024 06:46:57 +0000 (+0300) Subject: ERP-65 X-Git-Tag: 1.3~23^2~5 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=ea10ae6087f57556e3512ed613c2b60294db5942;p=erp24_rep%2Fyii-erp24%2F.git ERP-65 Перенести в новый фактический табель все смены сотрудников, которые были до 13.06 --- diff --git a/erp24/migrations/m240703_094403_change_fk_on_timetable_fact.php b/erp24/migrations/m240703_094403_change_fk_on_timetable_fact.php new file mode 100644 index 00000000..06c39921 --- /dev/null +++ b/erp24/migrations/m240703_094403_change_fk_on_timetable_fact.php @@ -0,0 +1,25 @@ +dropForeignKey('fk_timetable_fact_to_plan', 'timetable_fact'); + } + + /** + * {@inheritdoc} + */ + public function safeDown() + { + $this->addForeignKey('fk_timetable_fact_to_plan', 'timetable_fact', 'plan_id', 'timetable', 'id'); + } +}