add ability to view Migration History
This commit is contained in:
16
Oqtane.Shared/Models/MigrationHistory.cs
Normal file
16
Oqtane.Shared/Models/MigrationHistory.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Oqtane.Models
|
||||
{
|
||||
[Table("__EFMigrationsHistory")]
|
||||
[Keyless]
|
||||
public class MigrationHistory
|
||||
{
|
||||
public string MigrationId { get; set; }
|
||||
public string ProductVersion { get; set; }
|
||||
public DateTime AppliedDate { get; set; }
|
||||
public string AppliedVersion { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user