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