Add seeders and factories for all models
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use App\Models\PaymentMethods;
|
||||
|
||||
class PaymentMethodsTableSeeder extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
PaymentMethods::create(['pm_name' => 'Cash']);
|
||||
PaymentMethods::create(['pm_name' => 'Check']);
|
||||
PaymentMethods::create(['pm_name' => 'Credit Card']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user