Auswahl zwischen MySQL und Sqlite möglich, Datenbank kompletter Reset

This commit is contained in:
2025-06-17 18:54:43 +02:00
parent 7e17bac971
commit 7f0007b1e2
34 changed files with 1199 additions and 2360 deletions

View File

@@ -1,7 +1,12 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Watcher.Models;
public class Server
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public string Name { get; set; } = string.Empty;