casbin / gorm-adapter

GORM adapter for Casbin, see extended version of GORM Adapter Ex at: https://github.com/casbin/gorm-adapter-ex
https://github.com/casbin/casbin
Apache License 2.0
679 stars 206 forks source link

MYSQL engine MyISM index maximum limit 1000 #174

Closed 2021-cm closed 2 years ago

2021-cm commented 2 years ago

When initialized the database, the MYSQL engine MyISM index maximum limit 1000 causes an error to be optimized to create the index length under the optimization

casbin-bot commented 2 years ago

@tangyang9464 @JalinWang @imp2002

JalinWang commented 2 years ago

@2021-cm Could you please switch to English and provide more detail about the steps to reproduce & the detailed error message? 😀

tangyang9464 commented 2 years ago

@2021-cm You can customize the table to modify the field length. You can view README

hsluoyz commented 2 years ago

@2021-cm plz change to English

2021-cm commented 2 years ago

When initialized the database, the MYSQL engine MyISM index maximum limit 1000 causes an error to be optimized to create the index length under the optimization

hsluoyz commented 2 years ago

Answered.