我正在运行迁移。抛出一个错误:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dhc.users' doesn't exist (SQL: select * from `users`)
没有创建表。在第一次迁移中,没有对 users 表的引用。
告诉我——对用户的请求来自哪里?去哪里看?
我正在运行迁移。抛出一个错误:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dhc.users' doesn't exist (SQL: select * from `users`)
没有创建表。在第一次迁移中,没有对 users 表的引用。
告诉我——对用户的请求来自哪里?去哪里看?
您很可能从 alter migration 创建了 create migration。而且他们忘记更改创建表的方法。使用 table('users') 代码查找迁移。