diff --git a/Kyoo.CommonAPI/DatabaseContext.cs b/Kyoo.CommonAPI/DatabaseContext.cs
index afca55b5..5bf9e87a 100644
--- a/Kyoo.CommonAPI/DatabaseContext.cs
+++ b/Kyoo.CommonAPI/DatabaseContext.cs
@@ -74,6 +74,14 @@ namespace Kyoo
/// Episodes with a watch percentage. See
///
public DbSet WatchedEpisodes { get; set; }
+
+ ///
+ /// The list of library items (shows and collections that are part of a library - or the global one)
+ ///
+ ///
+ /// This set is ready only, on most database this will be a view.
+ ///
+ public DbSet LibraryItems { get; set; }
///
/// Get all metadataIDs (ExternalIDs) of a given resource. See .
@@ -322,6 +330,8 @@ namespace Kyoo
modelBuilder.Entity