Open liaokylin opened 8 months ago
https://github.com/go-admin-team/go-admin.git
./go-admin.exe migrate -c config/settings.yml
CREATE UNIQUE INDEX idx_sys_casbin_rule ON sys_casbin_rule (ptype,v0,v1,v2,v3,v4,v5,v6,v7) panic: Error 1071 (42000): Specified key was too long; max key length is 1000 bytes
you can try using the latest version, or adjust the database configuration according to the error prompts
Reproduction link
https://github.com/go-admin-team/go-admin.git
Steps to reproduce
./go-admin.exe migrate -c config/settings.yml
What is expected?
What is actually happening?
CREATE UNIQUE INDEX idx_sys_casbin_rule ON sys_casbin_rule (ptype,v0,v1,v2,v3,v4,v5,v6,v7) panic: Error 1071 (42000): Specified key was too long; max key length is 1000 bytes