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