Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger Error When Use Command php artisan migrate:fresh --seed #105

Open
vanrezky opened this issue May 17, 2024 · 0 comments
Open

Logger Error When Use Command php artisan migrate:fresh --seed #105

vanrezky opened this issue May 17, 2024 · 0 comments

Comments

@vanrezky
Copy link

vanrezky commented May 17, 2024

Hallo.
first of all, I've installed this plugin, and it's really amazing. thank you for making this plugin 👍.

back on topic, I ran the migration using this command php artisan migrate:fresh --seed. the migration ran successfully, but the seeder didn't run correctly and crashed my mysql..

Then I ran the migration & seed commands separately. strangely the migration command ran fine. but not the seeder.
gambar
gambar

So, the alternative path I chose. set all the key enabled to false
kode

dan itu berjalan lancar tanpa crash.
gambar

menurut saya, masalahnya adalah karena saya menggunakan terminal

harap Anda segera memperbaikinya.Halo.
pertama-tama, saya sudah menginstal plugin ini, dan ini sangat menakjubkan. terima kasih telah membuat plugin ini 👍.

kembali ke topik, saya menjalankan migrasi menggunakan perintah ini php artisanmigrate:fresh --seed. migrasi berhasil dijalankan, tetapi seeder tidak dapat berjalan dengan benar dan membuat mysql saya crash.

Kemudian saya menjalankan perintah migrasi & seed secara terpisah. anehnya perintah migrasi berjalan dengan baik. tapi tidak dengan seeder.
gambar
gambar

jadi, jalan alternatif yang saya pilih. disetel semua kunci diaktifkan ke false
kode

and it ran smoothly without any crashes.
gambar

i think, the problem is that I'm using the terminal.

My hope is that you will want to fix this.
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant