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