-3

I'm creating an erp with laravel + larvel nova, a rest api with laravel and frontend with vuejs. My doubt is: where should i build my database migration as better practice, should i put my migration in my erp project or in my api rest project. Both will use the same database.

Snickfire
  • 502
  • 1
  • 3
  • 18

1 Answers1

0

My suggestion is to create your migration in Rest Api beacuse api most work is in database and you want to give data(which is in Database) to user in most cases with Api!

Omid Reza Heidari
  • 658
  • 12
  • 27