mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-02-03 13:17:33 +00:00
18 lines
423 B
C#
18 lines
423 B
C#
namespace Project_Unite.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class locking : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.ForumTopics", "IsLocked", c => c.Boolean(nullable: false));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropColumn("dbo.ForumTopics", "IsLocked");
|
|
}
|
|
}
|
|
}
|