Ejemplo n.º 1
0
 public function dbdiffer($name)
 {
     if (!$this->initedDbDiffer) {
         DbDiffer::loadConfig('./dbdiffer.xml');
         $this->initedDbDiffer = true;
     }
     return DbDiffer::db($name);
 }
Ejemplo n.º 2
0
 protected function execute($sql)
 {
     $adapter = DbDiffer::db('bookstore')->adapter();
     $adapter->execute($sql);
 }