thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.72k stars 2.67k forks source link

doesn't find migration of laravel voyager project Yet !! #5817

Open salmazz opened 7 months ago

salmazz commented 7 months ago

Laravel version

9.19

PHP version

8.0.2

Voyager version

1.7

Database

5.6

Description

If I have a project in another laptop and uploaded it to Git and pulled the project and did not find any mail or any data, what should I do?

Steps to reproduce

setup the project create database tables create bread make complete crud then upload it to the database and then make pulled the project on another laptop doesn't find any database when make migration and no breads !!

Expected behavior

when make migration get all the tables what i created before

Screenshots

No response

Additional context

No response

Emerica commented 7 months ago

Voyager doesn't create or manage migrations. It would be a complicated challenge to get right while still being a more open option to people. Voyager's more of a tool, like a pretty myphpadmin, than a CMS, assisting development rather than being a site it a box. You'd need to run backups of your database and dump/import or maintain a separate database source that each instance can connect to. The bread data itself is stored in the database. There are also some migration generation packages, you can get to a point and then generate your required migrations, pruning them as required to get what you need for a "release".

eslam733 commented 6 months ago

I have encountered the same issues. This problem makes Voyager not the best option for big projects, as I can't rely on backing up my database every time I make a change to it.

Emerica commented 6 months ago

"backing up my database every time I make a change to it." I'd have to disagree there, you should be doing just that.