21 lines
698 B
C#
21 lines
698 B
C#
namespace Weee.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class add_IsDocDefaultTemplate_IsExcelDefaultTemplate_to_DocExcelTemplate_table : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.DocExcelTemplates", "IsDocDefaultTemplate", c => c.Boolean(nullable: false));
|
|
AddColumn("dbo.DocExcelTemplates", "IsExcelDefaultTemplate", c => c.Boolean(nullable: false));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropColumn("dbo.DocExcelTemplates", "IsExcelDefaultTemplate");
|
|
DropColumn("dbo.DocExcelTemplates", "IsDocDefaultTemplate");
|
|
}
|
|
}
|
|
}
|