Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

执行安装迁移数据命令报错,admin_config add unique admin_config_name_unique` #82

Open
klmahua opened this issue Jun 10, 2021 · 1 comment

Comments

@klmahua
Copy link

klmahua commented Jun 10, 2021

管理这是什么错误,,,具体错误代码如下:
In Connection.php line 664:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 1000 bytes (SQL: alter table admin_config add
unique admin_config_name_unique(name))

In PDOStatement.php line 119:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 1000 bytes

In PDOStatement.php line 117:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 1000 bytes

@klmahua
Copy link
Author

klmahua commented Jun 10, 2021

数据库版本mysql5.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant