19 lines
429 B
C#
19 lines
429 B
C#
namespace Book_club.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class Init2 : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.Books", "IsChildBook", c => c.Boolean(nullable: false));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropColumn("dbo.Books", "IsChildBook");
|
|
}
|
|
}
|
|
}
|