Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1817

Allowing to specify MySQL Collation on Field Basis

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major 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
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-245] was closed: https://github.com/doctrine/dbal/pull/245
        Hide
        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
        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.

          People

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

            Dates

            • Created:
              Updated: