23 lines
812 B
C#
23 lines
812 B
C#
namespace Weee.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class addParameterSources : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.NonYearlyParameterTypes", "paraSource", c => c.String(nullable:true, maxLength:30));
|
|
AddColumn("dbo.YearlyParameterTypes", "paraSource", c => c.String(nullable: true, maxLength: 30));
|
|
AddColumn("dbo.SimaproVersions", "paraSource", c => c.String(nullable: true, maxLength: 30));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropColumn("dbo.SimaproVersions", "paraSource");
|
|
DropColumn("dbo.YearlyParameterTypes", "paraSource");
|
|
DropColumn("dbo.NonYearlyParameterTypes", "paraSource");
|
|
}
|
|
}
|
|
}
|