Auswahl zwischen MySQL und Sqlite möglich, Datenbank kompletter Reset
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user