From cdc61eb4ea5309769ad4db84d92594e4dc3dff67 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 20 Mar 2017 16:45:17 -0400 Subject: Initial commit (azure deploy test) --- .../Migrations/201703172305217_auditlogs.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Project-Unite/Migrations/201703172305217_auditlogs.cs (limited to 'Project-Unite/Migrations/201703172305217_auditlogs.cs') diff --git a/Project-Unite/Migrations/201703172305217_auditlogs.cs b/Project-Unite/Migrations/201703172305217_auditlogs.cs new file mode 100644 index 0000000..bdac4bc --- /dev/null +++ b/Project-Unite/Migrations/201703172305217_auditlogs.cs @@ -0,0 +1,29 @@ +namespace Project_Unite.Migrations +{ + using System; + using System.Data.Entity.Migrations; + + public partial class auditlogs : DbMigration + { + public override void Up() + { + CreateTable( + "dbo.AuditLogs", + c => new + { + Id = c.String(nullable: false, maxLength: 128), + Level = c.Int(nullable: false), + Timestamp = c.DateTime(nullable: false), + UserId = c.String(), + Description = c.String(), + }) + .PrimaryKey(t => t.Id); + + } + + public override void Down() + { + DropTable("dbo.AuditLogs"); + } + } +} -- cgit v1.2.3