public function up() { $this->db->createCommand(\vm\cron\DbHelper::tableTasksSql())->execute(); $this->db->createCommand(\vm\cron\DbHelper::tableTaskRunsSql())->execute(); }
public function testTableTaskRunsSql() { $sql = DbHelper::tableTaskRunsSql(); $this->assertTrue(is_string($sql)); }