Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 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
@doctrinebot doctrinebot added this to the 2.0-ALPHA3 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.