Insolita/yii2-migrik

database selection

cornernote opened this issue · 2 comments

I was able to choose my Database Connection ID, however the generated migration file did not record this.

It should add something like this to the migration:

    public function init()
    {
        $this->db = 'db2';
        parent::init();
    }

you can create own template - see instruction in readme

include in next release