execute($sql); $sql = "INSERT INTO `comments_conf` (`AllStop`, `reg`, `dt_start`, `dt_stop`, `d0`, `d1`, `d2`, `d3`, `d4`, `d5`, `d6`) VALUES ('N', 'N', '00:00:00.000000', '23:59:59.000000', 'N', 'N', 'N', 'N', 'N', 'Y', 'Y');"; $this->execute($sql); $sql = "ALTER TABLE `comments_conf` ADD `id` TINYINT NOT NULL DEFAULT '0' FIRST, ADD PRIMARY KEY (`id`);"; $this->execute($sql); } /** * {@inheritdoc} */ public function safeDown() { echo "m230214_035736_comments_conf cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "m230214_035736_comments_conf cannot be reverted.\n"; return false; } */ }