Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-1817

Allowing to specify MySQL Collation on Field Basis

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mapping Drivers, Tools
    • Security Level: All
    • Labels:
      None

      Description

      It would be nice to be able to specify which collation to use on a field basis.

      This would for example be useful when you have case-sensitive (utf8_bin), and case-insensitive (utf8_general_ci) values. Right now, this needs to be manually added to migration files (which is ok for projects, but it is not so nice for distributable libraries).

        Activity

        Hide
        deeky666 Steve Müller added a comment -

        See the following PRs:

        https://github.com/doctrine/dbal/pull/274
        https://github.com/doctrine/dbal/pull/245
        https://github.com/doctrine/dbal/pull/282

        This will be available via column's customSchemaOptions.

        Show
        deeky666 Steve Müller added a comment - See the following PRs: https://github.com/doctrine/dbal/pull/274 https://github.com/doctrine/dbal/pull/245 https://github.com/doctrine/dbal/pull/282 This will be available via column's customSchemaOptions.
        Hide
        doctrinebot Doctrine Bot added a comment -

        A related Github Pull-Request [GH-245] was closed:
        https://github.com/doctrine/dbal/pull/245

        Show
        doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-245] was closed: https://github.com/doctrine/dbal/pull/245
        Hide
        doctrinebot Doctrine Bot added a comment -

        A related Github Pull-Request [GH-274] was closed:
        https://github.com/doctrine/dbal/pull/274

        Show
        doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-274] was closed: https://github.com/doctrine/dbal/pull/274
        Hide
        doctrinebot Doctrine Bot added a comment -

        A related Github Pull-Request [GH-274] was assigned:
        https://github.com/doctrine/dbal/pull/274

        Show
        doctrinebot Doctrine Bot added a comment - A related Github Pull-Request [GH-274] was assigned: https://github.com/doctrine/dbal/pull/274

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            johannes Johannes Schmitt
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: