insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'discount.discount.view', 'name' => 'View Discount', ], [ 'slug' => 'discount.discount.create', 'name' => 'Create Discount', ], [ 'slug' => 'discount.discount.edit', 'name' => 'Update Discount', ], [ 'slug' => 'discount.discount.delete', 'name' => 'Delete Discount', ], ]); DB::table('menus')->insert([ [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/discount/discount', 'name' => 'Discount', 'description' => null, 'icon' => 'fa fa-newspaper-o', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 2, 'key' => null, 'url' => 'user/discount/discount', 'name' => 'Discount', 'description' => null, 'icon' => 'icon-book-open', 'target' => null, 'order' => 190, 'status' => 1, ], [ 'parent_id' => 3, 'key' => null, 'url' => 'discount', 'name' => 'Discount', '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' => 'Discount', 'module' => 'Discount', 'user_type' => null, 'user_id' => null, 'key' => 'discount.discount.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }