diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-22 10:00:21 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-08-22 10:00:21 +1000 |
| commit | be4496b110e68e2c5a8f76f8ed770e9818befd68 (patch) | |
| tree | 25f597f34eaf357bd90a5b6b9b5440b7bf699ce1 /HBContext.cs | |
| parent | c29bdd4a9ec782411f57e3c798e1bb01ca7d417d (diff) | |
Finalised initial implementation of NSFW tag filtering
Diffstat (limited to 'HBContext.cs')
| -rw-r--r-- | HBContext.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/HBContext.cs b/HBContext.cs index 73ccdcb..74c040c 100644 --- a/HBContext.cs +++ b/HBContext.cs @@ -4,7 +4,7 @@ using HyperBooru.Services; namespace HyperBooru; public class HBContext : DbContext { - public static readonly Guid NSFWTag = new("EBDAD4F8-455A-4351-8017-1D4854D6FA38"); + public static readonly Guid NsfwTag = new("EBDAD4F8-455A-4351-8017-1D4854D6FA38"); public static readonly Guid IngestTag = new("EA212801-5BCC-4C0E-814F-FB9D30DB58BC"); public DbSet<HBObject> Objects { get; set; } @@ -40,7 +40,7 @@ public class HBContext : DbContext { modelBuilder.Entity<TagDefinition>().HasData(new TagDefinition[] { new() { ObjectId = -1, - Guid = NSFWTag, + Guid = NsfwTag, Source = TagSource.Internal, Name = "nsfw" }, |
