insert([ ]); DB::table('permissions')->insert([ [ 'slug' => 'bixo.account.drcrnote.view', 'name' => 'View Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.create', 'name' => 'Create Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.edit', 'name' => 'Update Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.delete', 'name' => 'Delete Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.verify', 'name' => 'Verify Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.approve', 'name' => 'Approve Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.publish', 'name' => 'Publish Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.unpublish', 'name' => 'Unpublish Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.cancel', 'name' => 'Cancel Drcrnote', ], [ 'slug' => 'bixo.account.drcrnote.archive', 'name' => 'Archive Drcrnote', ], ]); DB::table('menus')->insert([ // Admin menu [ 'parent_id' => 1, 'key' => null, 'url' => 'admin/account/drcrnote', 'name' => 'Drcrnote', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // User menu. [ 'parent_id' => 2, 'key' => null, 'url' => 'user/account/drcrnote', 'name' => 'Drcrnote', 'description' => null, 'icon' => 'las la-scroll', 'target' => null, 'order' => 190, 'status' => 1, ], // Public menu. [ 'parent_id' => 3, 'key' => null, 'url' => 'drcrnote', 'name' => 'Drcrnote', 'description' => null, 'icon' => 'las la-scroll, 'target' => null, 'order' => 190, 'status' => 1, ], ]); DB::table('settings')->insert([ // Uncomment and edit this section for entering value to settings table. /* [ 'pacakge' => 'Account', 'module' => 'Drcrnote', 'user_type' => null, 'user_id' => null, 'key' => 'bixo.account.drcrnote.key', 'name' => 'Some name', 'value' => 'Some value', 'type' => 'Default', 'control' => 'text', ], */ ]); } }