DDC-72: column alias not recognized in ConvertDoctrine1Schema #5233

Closed
doctrinebot opened this Issue Oct 29, 2009 · 2 comments

2 participants

@doctrinebot

Jira issue originally created by user chriswest:

The syntax for column aliases used in D1 is not recognized "columnname as fieldname". This produces fatal errors when converting D1 YAML -> D2 YAML -> D2 Annotations.

D1 yaml:

xcoord as x:
        type: integer(3)
        unsigned: true
        notnull: true

converted D2 yaml:

xcoord as x:
        type: integer(3)
        unsigned: true
        notnull: true

expected output:

x:
      columnName: xcoord
      type: integer(3)
      notnull: true

patch attached.

@doctrinebot

Issue was closed with resolution "Fixed"

@jwage jwage was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.0-ALPHA3 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment