3

Hello guys I'm currently working (and learning Laravel) and I make a lots of changes to my project since there are features that wasn't planned in the beginning and this requires changes in database to. I already have make some seeders that has some test data but some datas on my project are generated by code (by uploading) so I need to save them when I want to remigrate the database.

So my question is: Is there any way of saving current database datas with Laravel like creating a Database Seeder with current datas in it or something like that?

0

1 Answer 1

1

You can try this one

https://github.com/orangehill/iseed

it will generate a new seed file based on data from the existing database table.

Sign up to request clarification or add additional context in comments.

1 Comment

This is a nice package although i would prefer a solution that involves the arstisan command.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.