Seeders
This package contains the following seeders in the src/resources/database/seeds
folder:
Name | Type | Contains |
---|---|---|
Countries |
Country | All the countries in the World |
CountiesOfHungary |
Province | Counties of Hungary |
CountiesOfRomania |
Province | Counties of Romania |
ProvincesOfNetherlands |
Province | Provinces of Netherlands |
StatesOfGermany |
Province | States of the Germany |
StatesOfUsa |
Province | States of the USA |
Loading
With Artisan
php artisan db:seed --class="\Konekt\Address\Seeds\Countries"
Adding To Your App's DatabaseSeeder
class DatabaseSeeder extends \Illuminate\Database\Seeder
{
public function run()
{
//...
$this->call(\Konekt\Address\Seeds\Countries::class);
//...
}
}
For more details refer to the seeds section in the Concord docs.