mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
29 lines
668 B
PHP
29 lines
668 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class PaymentGatewaysSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
// Create Stripe default record
|
|
DB::table('payment_gateways')->insert([
|
|
'logo' => '/assets/images/stripe-logo-thumbnail.png',
|
|
'name' => 'Stripe',
|
|
'slug' => 'stripe',
|
|
]);
|
|
|
|
// Create PayPal default record
|
|
DB::table('payment_gateways')->insert([
|
|
'logo' => '/assets/images/paypal-logo-thumbnail.png',
|
|
'name' => 'Paypal',
|
|
'slug' => 'paypal',
|
|
]);
|
|
}
|
|
}
|