Skip to content

Loading…

DDC-1420: doctrine orm:validate-schema failure when using Migrations #2045

Closed
doctrinebot opened this Issue · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user rtshome:

I'm using Doctrine 2.1.2 with Migrations 2.0. Doctrine cli tool works
correctly for both schema creation (from annotations) and migrations
but, after using the tool to validate the schema i get the following
error:

[Mapping] OK - The mapping files are correct.
[Database] FAIL - The database schema is not in sync with the current
mapping file.

The failure is caused by the doctrinemigrationversions table that
the migration project has created in the db of my project.

orm:validate-schema fails because the relation is not defined as an
entity in the annotations.

@doctrinebot

Comment created by @beberlei:

Fixed

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.1.3 milestone
@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.