diff options
Diffstat (limited to 'Project-Unite/Migrations/201703181331309_acl_revamps.cs')
| -rw-r--r-- | Project-Unite/Migrations/201703181331309_acl_revamps.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Project-Unite/Migrations/201703181331309_acl_revamps.cs b/Project-Unite/Migrations/201703181331309_acl_revamps.cs new file mode 100644 index 0000000..222c288 --- /dev/null +++ b/Project-Unite/Migrations/201703181331309_acl_revamps.cs @@ -0,0 +1,30 @@ +namespace Project_Unite.Migrations +{ + using System; + using System.Data.Entity.Migrations; + + public partial class acl_revamps : DbMigration + { + public override void Up() + { + DropTable("dbo.ACLForumPermissions"); + } + + public override void Down() + { + CreateTable( + "dbo.ACLForumPermissions", + c => new + { + Id = c.String(nullable: false, maxLength: 128), + CategoryId = c.String(), + RoleId = c.String(), + CanSee = c.Boolean(nullable: false), + CanReply = c.Boolean(nullable: false), + CanPost = c.Boolean(nullable: false), + }) + .PrimaryKey(t => t.Id); + + } + } +} |
