cost 346 ms
在 laravel 中运行 php 工匠迁移时,我们可以排除自定义服务提供商吗? - Can we exclude a custom service provider when running php artisan migrate in laravel?

我有一个自定义服务提供商,我在其中访问 model 中的boot() 。 但是当我运行php artisan migrate时,它​​显示以下错误: [Illuminate\Database\QueryException] SQLSTATE[42S02]: Base table or view n ...

回购克隆 SQLSTATE [42S02] 后的 php artisan 错误:找不到基表或视图: - php artisan error after repo clone SQLSTATE[42S02]: Base table or view not found:

我用 Jetstream 做了一个 Laravel 项目并上传到 Github。 在我和我的同事尝试执行composer install后,我们收到以下错误: 我们在没有composer.json中的脚本的情况下再次尝试,进展顺利,但是在我们尝试每一个 artisan-command 之后,我们 ...

使用 Laravel Sail 时迁移表创建错误。 缺少 Information_schema.tables - Migration Table Creation Error when using Laravel Sail. Information_schema.tables missing

我的同事创建了一个 docker-composer.yml 文件并与我共享了该图像。 当我运行容器并附加此图像时,我无法通过命令创建迁移表; “./vendor/bin/sail artisan migrate”。 我正在使用 mySQL 数据库。 我尝试运行以下命令:(当我的另一位同事遇到下图 ...

运行“php artisan migrate”命令时如何修复“表不存在”错误? - How to fix the “Table doesn't exist” error error when running 'php artisan migrate' command?

我有一个项目需要运行php artisan migrate 。 这应该很容易,但我收到一个错误: php 工匠迁移照亮\数据库\查询异常 SQLSTATE [42S02]:未找到基表或视图:1146 表 'skz.master_courses' 不存在(SQL:select * from mas ...

当我尝试迁移 laravel 中的表时,我不断收到以下错误 - When i try and migrate my tables in laravel i keep getting the following error

我试图运行 php artisan migrate 但我不断收到以下错误: 我试图回滚表并再次迁移它们,但它只是给了我同样的错误 这是我的 create_comments_table: 这是我的 create_posts_table: 我的迁移表是按以下顺序创建的: 我怎样才能解决这个问题? ...


 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM