From: marina Date: Thu, 13 Jun 2024 07:53:41 +0000 (+0300) Subject: ERP-5 Доработать фактический план по сотрудникам X-Git-Tag: 1.2^2~4^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=0a6fb732d800efc4e5655d3e1f9d7553b9fcd1a5;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 266b540a..0f719d65 100644 --- a/erp24/migrations/m240603_082541_create_new_fact_plan_table.php +++ b/erp24/migrations/m240603_082541_create_new_fact_plan_table.php @@ -12,7 +12,7 @@ class m240603_082541_create_new_fact_plan_table extends Migration */ public function safeUp() { - if ($this->db->getTableSchema('{{%erp24.timetable_fact}}') !== null) { + if ($this->db->getTableSchema('{{%erp24.timetable_fact}}') === null) { $this->createTable('{{%erp24.timetable_fact}}', [ 'id' => $this->primaryKey(), 'admin_id' => $this->integer()->comment('ID сотрудника'),