Comments (5)
That is an option, but I feel that you shouldn't run any seeders that you don't need.
from laravel-fast-refresh-database.
If you set the seeder on your TestCase class it will automatically be seeded with the migrations (once). Just be aware that changes to this seeder will require that you manually delete or alter the checksum file
public $seeder = SomeSeeder::class
from laravel-fast-refresh-database.
I was thinking about the same issue. Maybe the better approach would be to run all migrations with seeders once and then created a dump of entire "base" database. With this approach migrate:fresh
would not be ran anymore as we would need to recreate a dump file.
from laravel-fast-refresh-database.
I tried that, but it didn't make any difference with seeding of around 3K records in one seeder.
from laravel-fast-refresh-database.
I think this one can be closed without further a do
from laravel-fast-refresh-database.
Related Issues (8)
- migrationsChecksum.txt should be added to the root .gitignore file HOT 1
- possible way tp fix paratest known issue HOT 1
- [Discussion] Store migration with database name HOT 3
- getCachedMigrationChecksum always returns null HOT 2
- RefreshDatabase and FastRefreshDatabase is not workable with Laravel Dusk HOT 2
- Missing LICENSE
- Creating a checksum not based on github commands HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-fast-refresh-database.