]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
ERP-5 Доработать фактический план по сотрудникам
authormarina <m.zozirova@gmail.com>
Thu, 13 Jun 2024 07:53:41 +0000 (10:53 +0300)
committermarina <m.zozirova@gmail.com>
Thu, 13 Jun 2024 07:53:41 +0000 (10:53 +0300)
erp24/migrations/m240603_082541_create_new_fact_plan_table.php

index 266b540a6180e67a41fe814647a10012f55fa9eb..0f719d65504b645defcaed916bbc465085f2c47f 100644 (file)
@@ -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 сотрудника'),