DDC-2450: Exception throwen when use --dump-sql #3073

Closed
opened 2026-01-22 14:11:22 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (May 16, 2013).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user koc:

php app/console doctrine:schema:update --dump-sql > a.sql



  [Doctrine\DBAL\Schema\SchemaException]
  The table with name 'xxx.message76' already exists.



doctrine:schema:update [--complete] [--dump-sql] [--force] [--em[="..."]]
Originally created by @doctrinebot on GitHub (May 16, 2013). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user koc: ``` php app/console doctrine:schema:update --dump-sql > a.sql [Doctrine\DBAL\Schema\SchemaException] The table with name 'xxx.message76' already exists. doctrine:schema:update [--complete] [--dump-sql] [--force] [--em[="..."]] ```
admin added the Bug label 2026-01-22 14:11:22 +01:00
admin closed this issue 2026-01-22 14:11:23 +01:00
Author
Owner

@doctrinebot commented on GitHub (May 16, 2013):

Comment created by @ocramius:

The DBAL can only extract schema definitions from the current DB, so it won't know if there are tables in other databases that are already existing

@doctrinebot commented on GitHub (May 16, 2013): Comment created by @ocramius: The DBAL can only extract schema definitions from the current DB, so it won't know if there are tables in other databases that are already existing
Author
Owner

@doctrinebot commented on GitHub (May 16, 2013):

Issue was closed with resolution "Can't Fix"

@doctrinebot commented on GitHub (May 16, 2013): Issue was closed with resolution "Can't Fix"
Author
Owner

@doctrinebot commented on GitHub (May 16, 2013):

Comment created by koc:

I haven't this exception week ago. What I'd changed? How can I fix it?

@doctrinebot commented on GitHub (May 16, 2013): Comment created by koc: I haven't this exception week ago. What I'd changed? How can I fix it?
Author
Owner

@doctrinebot commented on GitHub (May 16, 2013):

Comment created by @ocramius:

[~koc] what platform are you currently on? Can you provide the mappings to reproduce the problem?

@doctrinebot commented on GitHub (May 16, 2013): Comment created by @ocramius: [~koc] what platform are you currently on? Can you provide the mappings to reproduce the problem?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3073