-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
创建数据迁移报错 #776
Comments
you can try using the latest version, or adjust the database configuration according to the error prompts |
start init why I ty ro run: ./go-admin migrate -c config/settings.yml . it show up with the error message? why the code try to connect the database with the user name 'frank' ? I have been set the db source correctly. |
sorry about that, i fixed that myself. I set the driver key to 'postgres', It should be 'postgresql' . the example is wrong. |
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
The text was updated successfully, but these errors were encountered: