Support the ongoing development of Laravel.io →
Laravel
0
moderator

If I'm correctly you use an existing database. In my experience it is useful to create a migration for each table. (That checks if the database exist before trying to create it)

With that you have the option to change a table on another moment if needed and it is a good starting point if other people join your project or if you want to start automation testing it in a CI.

I only should add the models and factories on the moment you want to use them.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.