Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
WIKIPEDIA
/
imaliapitest
/
database
/
seeds
:
ImaliAccountConfigsTableSeeder.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php use Illuminate\Database\Seeder; class ImaliAccountConfigsTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('imali_account_configs')->insert([ '0' => [ 'level' => 'I', 'taxa' => 5, 'nr_transaction' => 3, 'point_value' => 100, 'max_balance' => 10000, 'min_value_operation' => 10, 'max_value_operation' => 1000, 'max_value_year' => 50000, 'taxa_refund_mechant' => 1, 'created_at' => now(), 'updated_at' => now() ], '1' => [ 'level' => 'II', 'taxa' => 5, 'nr_transaction' => 5, 'point_value' => 100, 'max_balance' => 15000, 'min_value_operation' => 10, 'max_value_operation' => 2000, 'max_value_year' => 80000, 'taxa_refund_mechant' => 1, 'created_at' => now(), 'updated_at' => now() ], '2' => [ 'level' => 'III', 'taxa' => 5, 'nr_transaction' => 10, 'point_value' => 100, 'max_balance' => 25000, 'min_value_operation' => 10, 'max_value_operation' => 5000, 'max_value_year' => 50000, 'taxa_refund_mechant' => 1, 'created_at' => now(), 'updated_at' => now() ] ]); } }