mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Problem on schema-tool:update function getListTableForeignKeysSQL #5706
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alissonschneiderr on GitHub (Sep 21, 2017).
Originally assigned to: @alissonschneiderr on GitHub.
Hi, I'm having a problem while generating an sql dump, I'm getting the following error:
What can it be?
Sorry about english
Thanks
@Jean85 commented on GitHub (Sep 22, 2017):
Did you write the query yourself? The subquery is probably returning more than one result.
@alissonschneiderr commented on GitHub (Sep 22, 2017):
Yeah, I know, but is not my query, is doctrine query.
I think can be something in the database.
@lcobucci commented on GitHub (Nov 26, 2017):
@alissonschneiderr could you please send us a failing test case that reproduces that behaviour? It would help us a lot to identify and fix the issue you're describing.
You can find examples on
388afb46d0/tests/Doctrine/Tests/ORM/Functional/Ticket@alexislefebvre commented on GitHub (Jul 5, 2018):
We had a similar problem, and the error was due to an entity
State, Doctrine created a table with nameStateand it generated the same error.We solved it by specifying a name for the table:
@ORM\Table(name="user_state").@alexislefebvre commented on GitHub (Jul 5, 2018):
I think that I found the root of the error, we used an entity with a table
State, and this table was hosted in a PostgreSQL server in a Docker container.That's probably why the subrequest returned 2 rows: