blob: bdac4bc722cfc0cbdfd47c561a64d6d052e06679 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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");
}
}
}
|