Open Closed

FYI MySQL Index length bug - fix #955

paulbackhouse created

I managed to complete the upgrade to and finally resolve the EF missing cmdlet problem - fix by the way is rollback EF to 6.1.1 and everything works perfectly with latest ABP stuff :) cmds are back (i.e add-migrations)

anyway, FYI. In the migration script, the Table "AbpUserLoginAttempts" tries to create and index on TenancyName, UserNameOrEmailAddress and Result. It will fail in MySql due to max length exceeding in the index (ref: <a class="postlink" href=""> ... 1000-bytes</a>)

To fix, change the length of the column UserNameOrEmailAddress from varchar(256) to varchar(255). 255 is the max default index capacity.

In case you want to put that in next release for MySql users

1 Answer(s)
  • 0
    ismcagdas created
    Support Team


    Glad to hear that your problem is solved. Thanks for the information, we will fix it <a class="postlink" href=""> ... issues/180</a>