From: marina Date: Thu, 13 Jun 2024 07:52:55 +0000 (+0300) Subject: ERP-5 Доработать фактический план по сотрудникам X-Git-Tag: 1.2^2~4^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=bcdf8802ac18dbee3edeaf78961826b0383f4920;p=erp24_rep%2Fyii-erp24%2F.git ERP-5 Доработать фактический план по сотрудникам --- diff --git a/erp24/migrations/m240603_082541_create_new_fact_plan_table.php b/erp24/migrations/m240603_082541_create_new_fact_plan_table.php index 2ab233db..266b540a 100644 --- a/erp24/migrations/m240603_082541_create_new_fact_plan_table.php +++ b/erp24/migrations/m240603_082541_create_new_fact_plan_table.php @@ -1,7 +1,6 @@ db->getTableSchema(TimetableFact::tableName()) !== null) { + if ($this->db->getTableSchema('{{%erp24.timetable_fact}}') !== null) { $this->createTable('{{%erp24.timetable_fact}}', [ 'id' => $this->primaryKey(), 'admin_id' => $this->integer()->comment('ID сотрудника'),