insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'transactions.past_transaction.view', 'name' => 'View PastTransaction', ], [ 'slug' => 'transactions.past_transaction.create', 'name' => 'Create PastTransaction', ], [ 'slug' => 'transactions.past_transaction.edit', 'name' => 'Update PastTransaction', ], [ 'slug' => 'transactions.past_transaction.delete', 'name' => 'Delete PastTransaction', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/transactions/past_transaction', 'name' => 'PastTransaction', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/transactions/past_transaction', 'name' => 'PastTransaction', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'past_transaction', 'name' => 'PastTransaction', 'description' => null, 'icon' => null, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Transactions', 'module' => 'PastTransaction', 'user_type' => null, 'user_id' => null, 'key' => 'transactions.past_transaction.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }