Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
orkhanahmadov authored Sep 22, 2020
1 parent b9cee53 commit b6c2489
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ But using Laravel's own migrations for this purpose have some drawback:
* After some time it gets hard to manage and find content-based migrations among many migration files.
* Recent introduction of "migration squashing" in Laravel 8 copies last state of database structure only. This means if you have content-based migrations you need to find a way to migrate them again if you have an empty database.

Laravel seeders are ideal for managing content in your database, but they also have their drawbacks:

* They are not as automatic as migrations, you need to run and track each of them individually
* If you have an empty datatabase it becomes hard, almost impossible to know the order of seeders to run

This package aims to solve these problems by having dedicated content-based migrations separate from usual Laravel migrations.

## Requirements
Expand Down

0 comments on commit b6c2489

Please sign in to comment.