Added settings option model. Recreated migrations
This commit is contained in:
14
Moonlight.Api/Database/Entities/SettingsOption.cs
Normal file
14
Moonlight.Api/Database/Entities/SettingsOption.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Moonlight.Api.Database.Entities;
|
||||
|
||||
public class SettingsOption
|
||||
{
|
||||
public int Id { get; set; }
|
||||
|
||||
[MaxLength(256)]
|
||||
public required string Key { get; set; }
|
||||
|
||||
[MaxLength(4096)]
|
||||
public required string Value { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user