diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-19 00:36:30 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2025-08-18 17:03:21 +1000 |
| commit | d7bc8b58f750c1a5c629915ed2097e477d204a67 (patch) | |
| tree | c46146abd1261f28319f5973ad9182da57276347 /HBContext.cs | |
| parent | 7dcc15cb52c29cc1c0112e3af2cf985b26cd7653 (diff) | |
Added basic search engine functionality
Diffstat (limited to 'HBContext.cs')
| -rw-r--r-- | HBContext.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/HBContext.cs b/HBContext.cs index 04f2d1a..45b8852 100644 --- a/HBContext.cs +++ b/HBContext.cs @@ -35,8 +35,18 @@ public class HBContext : DbContext { // Seed internal tag definitions // These should NEVER change modelBuilder.Entity<TagDefinition>().HasData(new TagDefinition[] { - new() { ObjectId = -1, Source = TagSource.Internal, Name = "nsfw" }, - new() { ObjectId = -2, Source = TagSource.Internal, Name = "ingest" } + new() { + ObjectId = -1, + Guid = new("EBDAD4F8-455A-4351-8017-1D4854D6FA38"), + Source = TagSource.Internal, + Name = "nsfw" + }, + new() { + ObjectId = -2, + Guid = new("EA212801-5BCC-4C0E-814F-FB9D30DB58BC"), + Source = TagSource.Internal, + Name = "ingest" + } }); // Implicit tags need some special attention to make many<->many |
