Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Can't Fix
    • Affects Version/s: 2.0.0-BETA4, 2.0, 2.0.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      mysql 5.1.49 for debian-linux-gnu (x86_64), Ubuntu 10.10 Doctrine DBAL Beta4 Doctrine ORM Beta4 Doctrine Common RC1

      Description

      class product {
      /**
      *Column(type="decimal", scale="2")
      *
      */
      private $discount;
      }

      generate SQL

      create table product {
      discount DECIMAL(10,2) NOT NULL
      }

      if you have a field in a database type DECIMAL doctrine tries to
      generate for him diff

      doctrine orm:schema-tool
      >
      ALTER TABLE product CHANGE discrount discrount NUMERIC (10, 2) NOT NULL

      but mysql ignore the alter, as a result of these diff stretch from
      migration to migration

        Activity

        Eugene created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Duplicate [ 3 ]
        Eugene made changes -
        Resolution Duplicate [ 3 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Eugene made changes -
        Comment [ checked for the version of doctrine 2.1.0-DEV
        result is the same
        ]
        Oleg Anashkin made changes -
        Affects Version/s 2.0.1 [ 10115 ]
        Affects Version/s 2.0 [ 10067 ]
        Alexander made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Can't Fix [ 7 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 12226 ] jira-feedback2 [ 17847 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17847 ] jira-feedback3 [ 20202 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Eugene
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: