Multiple databases support in Symfony

后端 未结 3 598
不知归路
不知归路 2020-12-17 05:31

I am using Propel as my DAL for my Symfony project. I can\'t seem to get my application to work across two or more databases.

Here\'s my schema.yml:

         


        
3条回答
  •  不思量自难忘°
    2020-12-17 06:02

    Also when running the task you should specify the connection for example:

    symfony propel:build-all-load --connection=my_connection
    

    This worked for me, hope it helps.

提交回复
热议问题