Currency seeder manat lira
This commit is contained in:
parent
4d3bf24edb
commit
8adc626339
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
|
||||
namespace Sarga\Shop\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class SCurrencyTableSeeder extends Seeder
|
||||
{
|
||||
public function run(){
|
||||
DB::table('currencies')->insert([
|
||||
[
|
||||
'id' => 3,
|
||||
'code' => 'TL',
|
||||
'name' => 'Lira',
|
||||
'symbol' => 't',
|
||||
], [
|
||||
'id' => 4,
|
||||
'code' => 'TMT',
|
||||
'name' => 'Manat',
|
||||
'symbol' => 'm',
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue