美文网首页重新撸码
Uncaught Error: Class 'Update' n

Uncaught Error: Class 'Update' n

作者: 大黄蜂阿天 | 来源:发表于2020-09-22 11:00 被阅读0次
Fatal error: Uncaught Error: Class 'Update' not found in /xxx/vendor/hyperf/database/src/Migrations/Migrator.php:199
Stack trace:
#0 /xxx/vendor/hyperf/database/src/Migrations/Migrator.php(342): Hyperf\Database\Migrations\Migrator->resolve('2020_09_21_1435...')
#1 /xxx/vendor/hyperf/database/src/Migrations/Migrator.php(137): Hyperf\Database\Migrations\Migrator->runUp('/Users/chenbin/...', 1, false)
#2 /xxx/vendor/hyperf/database/src/Migrations/Migrator.php(103): Hyperf\Database\Migrations\Migrator->runPending(Array, Array)
#3 /xxx/vendor/hyperf/database/src/Commands/Migrations/MigrateCommand.php(65): Hyperf\Database\Migrations\Migrator->run(Array, Array)
#4 /xxx/vendor/hyperf/utils/src/Functions.php(274): Hyperf\Database\Commands\Migrations\MigrateCommand->handle()
#5 /xxx/vendor/hyperf/command/src/Command.php(436): call(Array)
#6 /xxx/vendor/hyperf in /xxx/vendor/hyperf/database/src/Migrations/Migrator.php on line 199

不要将migration脚本 生成为 xxx_update.php

相关文章

网友评论

    本文标题:Uncaught Error: Class 'Update' n

    本文链接:https://www.haomeiwen.com/subject/qtxwyktx.html