rollback 后,users 表还是存在
如图所示,先执行了php artisan migrate,提示SQLSTATE[42000]: Syntax error or access violation: 107 1 Specified key was too long; max key length is 767 bytes (SQL: alter table users
add unique users_email_unique
(email
))
字符串太长,按照:问答:最新的修改方案,提示 specified key was too long,怎么解决?
这个改了以后,执行php artisan migrate:rollback,提示Nothing to rollback.
进数据库一看,结果users表还存在,这是为什么呀??
推荐文章: