/** * Добавление поля node.xml2 для хранения дерева. * @mcms_message ru.molinos.cms.install */ public static function on_install(Context $ctx) { $t = new TableInfo($ctx->db, 'node'); if (!$t->columnExists('xmltree')) { $t->columnSet('xmltree', array('type' => 'longblob')); $t->commit(); } }