File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Laravel's standard mechanism for [squashing migrations](https://laravel.com/docs
14
14
is very good, but it has a huge drawback - it only exports the database schema and the contents of
15
15
a single table - ` migrations ` .
16
16
17
- And this approach is quite acceptable on small projects where you need to quickly reduce the number of migration files
17
+ And this approach is quite acceptable on small projects where you need to quickly reduce the number of migration files,
18
18
and there is no binding to the table contents.
19
19
20
20
But what if you have a large project with several people working on it, and you constantly run tests that must contain
@@ -26,8 +26,6 @@ unloads the data from your selected tables into SQL file.
26
26
27
27
All you need to do is install the package and add the new setting to the ` config/database.php ` file and that's it.
28
28
29
- Let's get down to business!
30
-
31
29
## Requirements
32
30
33
31
- Laravel 10, 11
@@ -83,7 +81,8 @@ return [
83
81
84
82
After that, add to the array the names of the tables for which you want to export data.
85
83
86
- That's it. Now run the ` php artisan schema:dump ` console command and enjoy the result.
84
+ That's it. Now run the [ ` php artisan schema:dump ` ] ( https://laravel.com/docs/migrations#squashing-migrations )
85
+ console command and enjoy the result.
87
86
88
87
89
88
## License
You can’t perform that action at this time.
0 commit comments