insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'allowance.allowance.view', 'name' => 'View Allowance', ], [ 'slug' => 'allowance.allowance.create', 'name' => 'Create Allowance', ], [ 'slug' => 'allowance.allowance.edit', 'name' => 'Update Allowance', ], [ 'slug' => 'allowance.allowance.delete', 'name' => 'Delete Allowance', ], /* [ 'slug' => 'allowance.allowance.verify', 'name' => 'Verify Allowance', ], [ 'slug' => 'allowance.allowance.approve', 'name' => 'Approve Allowance', ], [ 'slug' => 'allowance.allowance.publish', 'name' => 'Publish Allowance', ], [ 'slug' => 'allowance.allowance.unpublish', 'name' => 'Unpublish Allowance', ], [ 'slug' => 'allowance.allowance.cancel', 'name' => 'Cancel Allowance', ], [ 'slug' => 'allowance.allowance.archive', 'name' => 'Archive Allowance', ], */ ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/allowance/allowance', 'name' => 'Allowance', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/allowance/allowance', 'name' => 'Allowance', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'allowance', 'name' => 'Allowance', '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. /* [ 'key' => 'allowance.allowance.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', ], */ ]); } }