Package Data | |
---|---|
Maintainer Username: | slampenny |
Maintainer Contact: | jordan@jordanlapp.com (jlapp) |
Package Create Date: | 2014-11-13 |
Package Last Update: | 2016-03-16 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 15:03:27 |
Package Statistics | |
---|---|
Total Downloads: | 3,075 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 189 |
Total Watchers: | 8 |
Total Forks: | 57 |
Total Open Issues: | 4 |
Seeding as it is currently done in Laravel is intended only for dev builds, but what if you're iteratively creating your database and want to constantly flush it and repopulate it during development? What if you want to seed a production database with different data from what you use in development? What if you want to seed a table you've added to a database that is currently in production with new data?
php artisan seed
will only run seeds that haven't already been run.php artisan db:seed
or
php artisan migrate:refresh --seed
When you install SmartSeeder, various artisan commands are made available to you which use the same methodology you're used to using with Migrations.