Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-5838

PERF: Device token is too long to be indexed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      As per this comment, MySQL has issues with deviceToken being too long to be indexed:

      11:41:13,946 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 61) HHH000388: Unsuccessful: create index deviceTokenIndex on Installation (deviceToken)
      11:41:13,946 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 61) Specified key was too long; max key length is 767 bytes
      

        Attachments

          Activity

            People

            Assignee:
            mwessendorf Matthias Wessendorf
            Reporter:
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: