fix: remove stale NtfyToken from migration snapshot
The UserNotificationConfig entity was migrated from Gotify to ntfy (NtfyUrl replaces GotifyUrl, NtfyEnabled replaces GotifyEnabled). NtfyToken was never part of the entity but the snapshot still referenced it, causing PendingModelChangesWarning and 4 integration test failures. Remove NtfyToken from the Designer.cs and ModelSnapshot.cs to align the snapshot with the actual entity model.
This commit is contained in:
1 parent
9429568fb2
commit
06927fb9b4
2 files changed
-8
No files matched your search
-4
@@ -1329,10 +1329,6 @@ namespace Heimdall.Infrastructure.Migrations
|
||||
b.Property<bool>("NtfyEnabled")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<string>("NtfyToken")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("character varying(500)");
|
||||
|
||||
b.Property<string>("NtfyUrl")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("character varying(500)");
|
||||
|
||||
@@ -1326,10 +1326,6 @@ namespace Heimdall.Infrastructure.Migrations
|
||||
b.Property<bool>("NtfyEnabled")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<string>("NtfyToken")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("character varying(500)");
|
||||
|
||||
b.Property<string>("NtfyUrl")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("character varying(500)");
|
||||
|
||||
Reference in new issue
Block a user