blob: 861f4a30519bc7ceec81ca6c8b81a7f3046c3e80 (
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
|
namespace Project_Unite.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class more_fucking_acl : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.ForumPermissions",
c => new
{
Id = c.String(nullable: false, maxLength: 128),
CategoryId = c.String(nullable: false),
RoleId = c.String(nullable: false),
Permissions = c.Int(nullable: false),
})
.PrimaryKey(t => t.Id);
}
public override void Down()
{
DropTable("dbo.ForumPermissions");
}
}
}
|