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

PERF: Device token is too long to be indexed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Do
    • None
    • None
    • 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

            mwessend@redhat.com Matthias Wessendorf
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: