getTable('comments'); if (!$comments->hasColumn('expire_date')) { $comments->addColumn('expire_date', Types::DATETIME, [ 'notnull' => false, ]); $comments->addIndex(['expire_date'], 'expire_date'); return $schema; } return null; } }