diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-17 09:36:09 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2025-08-18 17:03:21 +1000 |
| commit | f150338f7a275bd7664f59a4365f163a17049bd0 (patch) | |
| tree | 7f7759bee0db8d1fd8c6202e8af76b4a2bbc5258 /Tag.cs | |
| parent | 5d462af49365e84e0dfd7ed5bd862efb6b325cd1 (diff) | |
Update DB schema to fix implicit tags bug
Diffstat (limited to 'Tag.cs')
| -rw-r--r-- | Tag.cs | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,4 +1,5 @@ -using System.ComponentModel.DataAnnotations; +using Microsoft.EntityFrameworkCore; +using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace HyperBooru; @@ -9,10 +10,10 @@ public enum TagSource { } public class TagDefinition : HBObject { - public TagSource Source { get; set; } = TagSource.Internal; - public string? Namespace { get; set; } - public string Name { get; set; } - public virtual List<TagDefinition> ImplicitTags { get; set; } = new(); + public TagSource Source { get; set; } = TagSource.Internal; + public string? Namespace { get; set; } + public string Name { get; set; } + public virtual List<TagDefinition> ImplicitTags { get; set; } = new(); } public class Tag : HBObject { |
