37 lines
2.6 KiB
C#
37 lines
2.6 KiB
C#
namespace Weee.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class SimaproMaxLen300 : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AlterColumn("dbo.SimaproParameters", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
//AlterColumn("dbo.NonYearlyParameterTypes", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
//AlterColumn("dbo.YearlyParameterAreas", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
//AlterColumn("dbo.YearlyParameterTypes", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
AlterColumn("dbo.SimaproParameterTypes", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
AlterColumn("dbo.SimaproParameterCategories", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
//AlterColumn("dbo.PCRs", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
//AlterColumn("dbo.LCARiskAssmtSurveyForm_LifecycleAssmtItem", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
//AlterColumn("dbo.PublicMessages", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
//AlterColumn("dbo.PublicReferenceFiles", "DisplayNameTW", c => c.String(nullable: false, maxLength: 300));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
//AlterColumn("dbo.PublicReferenceFiles", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
//AlterColumn("dbo.PublicMessages", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
//AlterColumn("dbo.LCARiskAssmtSurveyForm_LifecycleAssmtItem", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
//AlterColumn("dbo.PCRs", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
AlterColumn("dbo.SimaproParameterCategories", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
AlterColumn("dbo.SimaproParameterTypes", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
//AlterColumn("dbo.YearlyParameterTypes", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
//AlterColumn("dbo.YearlyParameterAreas", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
//AlterColumn("dbo.NonYearlyParameterTypes", "DisplayNameTW", c => c.String(nullable: false, maxLength: 200));
|
|
AlterColumn("dbo.SimaproParameters", "DisplayNameTW", c => c.String(nullable: false));
|
|
}
|
|
}
|
|
}
|