[backend/database] PushSubscription.Types should be a property, not a field
This fixes creating migrations failing with an extremely unhelpful error message when using .NET 9.0.
This commit is contained in:
parent
4cfd4de389
commit
df4eea5c0e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class PushSubscription
|
||||||
}
|
}
|
||||||
|
|
||||||
[Column("types", TypeName = "character varying(32)[]")]
|
[Column("types", TypeName = "character varying(32)[]")]
|
||||||
public List<string> Types = null!;
|
public List<string> Types { get; set; } = null!;
|
||||||
|
|
||||||
[Key]
|
[Key]
|
||||||
[Column("id")]
|
[Column("id")]
|
||||||
|
|
Loading…
Add table
Reference in a new issue