-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
数据库创建特殊字符过长问题 #1541
Comments
这个问题是laravel的问题,我建议在这个组件的wiki文档里面也带上这么个说明,能让第一次安装的人避开这个问题 |
遇到这个问题,根据这个帖子的方法操作后,然后需要删除已经生成的两张数据表,才能php artisan admin:install重新进行 |
有生成表吗?库吗?没看见啊 |
有 migrate表已经生成,user表也有了, |
按照教程,正解 |
或者指定mysql数据库引擎默认为InnoDB。 |
踩到这个坑里了,不过 email 设置为 255 的长度加上唯一索引,其索引效率是不是不太高,比如单个数据分页、redo日志页存放的数据数量,Buffer缓冲区可存放的页之类的都有些影响,我这边是暂时改为 100 解决掉了。 |
如果楼主介绍的方法还不行可以尝试使用如下两个方法
|
本人被信砸到...俺会抓紧时间砸回去的.
恩....thank you for your letter ~恩哼 ...
|
laravel 5.4 改变了默认的数据库字符集,现在utf8mb4包括存储emojis支持。如果你运行MySQL v5.7.7或者更高版本,则不需要做任何事情。
当你试着在一些MariaDB或者一些老版本的的MySQL上运行 migrations 命令时,你可能会碰到下面这个错误:
在app\Providers\AppServiceProvider.php添加默认值
The text was updated successfully, but these errors were encountered: