summaryrefslogtreecommitdiff
path: root/Project-Unite/Migrations/201703181331309_acl_revamps.cs
diff options
context:
space:
mode:
authorMichael <Michael@some.where>2017-03-20 16:45:17 -0400
committerMichael <Michael@some.where>2017-03-20 16:45:17 -0400
commitcdc61eb4ea5309769ad4db84d92594e4dc3dff67 (patch)
treea8297a7aecc4376f07a497a5e02ab5ff165bfbd3 /Project-Unite/Migrations/201703181331309_acl_revamps.cs
parentd9f475e1f33bbf39ca0d79d7a6b0c2fd501b4f2d (diff)
downloadproject-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.gz
project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.bz2
project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.zip
Initial commit (azure deploy test)
Diffstat (limited to 'Project-Unite/Migrations/201703181331309_acl_revamps.cs')
-rw-r--r--Project-Unite/Migrations/201703181331309_acl_revamps.cs30
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);
+
+ }
+ }
+}