This commit is contained in:
22
server/models/SchemaVersion.cs
Normal file
22
server/models/SchemaVersion.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Sockeye.Models
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Sockeye Schema version table
|
||||
/// </summary>
|
||||
public class SchemaVersion
|
||||
{
|
||||
[Required]
|
||||
[Key]
|
||||
public string Id { get; set; }
|
||||
public int Schema { get; set; }
|
||||
|
||||
//ef core requires this
|
||||
public SchemaVersion() { }
|
||||
|
||||
|
||||
}//eoc
|
||||
}//eons
|
||||
Reference in New Issue
Block a user