Improve migration Script
This commit is contained in:
parent
32ae82ca8d
commit
3fa4115502
4 changed files with 52 additions and 14 deletions
18
Geekbot.net/Database/Models/GlobalsModel.cs
Normal file
18
Geekbot.net/Database/Models/GlobalsModel.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Geekbot.net.Database.Models
|
||||
{
|
||||
public class GlobalsModel
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Value { get; set; }
|
||||
|
||||
public string Meta { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue