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