Zend Framework 2 and Doctrine 2 - Configuration for multiple databases

后端 未结 3 1506
独厮守ぢ
独厮守ぢ 2021-01-03 07:24

I pasted the code from the configuration.md file to

module.config.php

\'doctrine\' => array(
        \'connection\' => array(
            \'orm         


        
3条回答
  •  心在旅途
    2021-01-03 07:33

    @foozy: this is exactly what I'm looking. With

    ./vendor/bin/doctrine-module orm:schema-tool:update --force
    

    you can now update or create the database schema.

    My question: how to define which entity should be created in which db? Regards Andrea

提交回复
热议问题