Doctrine 1
  1. Doctrine 1
  2. DC-416

Issue finding INDEX key name when using 'name: KEY as ALIAS' in schema.yml

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux Debian, php 5.2.12

      Description

      When trying to create sql database with the below schema

      User:
      tableName: users
      columns:
      acctno:
      type: integer(4)
      primary: true
      unsigned: true
      notnull: true
      autoincrement: true

      results in a failed table creation, due to the name found for the INDEX.:

      INDEX user_id_idx (user_id)

        Activity

        Hide
        Roger Mangraviti added a comment -

        redundant schema/yml file in schema dir.

        Show
        Roger Mangraviti added a comment - redundant schema/yml file in schema dir.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Roger Mangraviti
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: