connection ->executeQuery("UPDATE c_lp_item SET item_type = 'dir' WHERE item_type = 'dokeos_chapter'"); $this ->connection ->executeQuery("UPDATE c_lp_item SET item_type = 'dir' WHERE item_type = 'dokeos_module'"); $this ->connection ->executeQuery("UPDATE c_lp_item SET item_type = 'dir' WHERE item_type = 'chapter'"); $this ->connection ->executeQuery("UPDATE c_lp_item SET item_type = 'dir' WHERE item_type = 'module'"); } /** * @param Schema $schema * @throws \Doctrine\DBAL\DBALException * @throws \Doctrine\DBAL\Schema\SchemaException */ public function down(Schema $schema) { } }