Added in an audit table. Since we are now allowing multiple users to change and modify things we need to audit this.

This commit is contained in:
TidusJar 2016-05-16 00:16:19 -04:00
commit 79086dcf45
4 changed files with 32 additions and 3 deletions

View file

@ -0,0 +1,16 @@
using System;
using Dapper.Contrib.Extensions;
namespace PlexRequests.Store
{
[Table("Audit")]
public class Audit : Entity
{
public string Username{get;set;}
public DateTime Date {get;set;}
public string ChangeType {get;set;}
public string OldValue {get;set;}
public string NewValue{get;set;}
}
}