Post featured record

This commit is contained in:
2025-08-12 12:17:26 +08:00
parent 05c6d67c03
commit 616491e6d8
6 changed files with 2055 additions and 2 deletions

View File

@@ -34,7 +34,8 @@ public class AppDatabase(
public DbSet<PostTag> PostTags { get; set; }
public DbSet<PostCategory> PostCategories { get; set; }
public DbSet<PostCollection> PostCollections { get; set; }
public DbSet<PostFeaturedRecord> PostFeaturedRecords { get; set; }
public DbSet<Poll.Poll> Polls { get; set; }
public DbSet<Poll.PollQuestion> PollQuestions { get; set; }
public DbSet<Poll.PollAnswer> PollAnswers { get; set; }
@@ -299,4 +300,4 @@ public static class OptionalQueryExtensions
{
return condition ? transform(source) : source;
}
}
}