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