【发布时间】:2021-01-30 18:17:57
【问题描述】:
我想使用迁移创建一个tbl_teacher_students 表..
我的命令是php artisan make:migration create_tbl_teacher_students_table。
我也尝试添加--create=tbl_teacher_students,但都给了我这个错误:
PHP Fatal error: Cannot declare class CreateFailedJobsTable, because the name is already in use
Symfony\Component\ErrorHandler\Error\FatalError
Cannot declare class CreateFailedJobsTable, because the name is already in use
我找不到任何关于 CreateFailedJobsTable 与迁移相关的错误的信息。
此外,我还尝试将列添加到现有表中,但它给了我同样的错误。
【问题讨论】:
标签: laravel migration laravel-migrations