The problem is that I have 2 + databases defined in Symfony. And when I update table schema with
php app/console dotrine:schema:update --force
it makes the tables in the default database. I'd like to specify which database the table belongs to. How could i do that?
I'm using yaml(yml) format for the entities, example:
Test\ExampleBundle\Entity\TestTable:
type: entity
table: test_table
id:
id:
type: integer
generator:
strategy: AUTO
fields:
name:
type: string
length: 255
sound:
type: smallint