Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2288

Schema Tool doesn't update collation on table level

    Details

      Description

      In Symfony2, when updating the collation option of a table, the schema tool doesn't recognize the change:

      Changing from:

       
      * @ORM\Table()
      

      To:

       
      * @ORM\Table(options={"collate"="utf8_swedish_ci"})
      

      Results in:

       
      $ php app/console doctrine:schema:update --dump-sql
      Nothing to update - your database is already in sync with the current entity metadata.
      

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Rickard Andersson
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: