Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 4 comments

2 participants

@doctrinebot

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[="..."]]
@doctrinebot

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

Issue was closed with resolution "Can't Fix"

@doctrinebot

Comment created by koc:

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

@doctrinebot

Comment created by @ocramius:

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

@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.