class m151223_062347_data_transfer extends Migration
{
public function setDb($db)
{
$this->db = $db;
}
public function safeUp()
{
$this->db = $this->setDb('db');
$this->db2 = $this->setDb('db2');
$shema = $this->db2->schema->getTableSchema('users');