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