demo20230512/Migrations/202210100918147_addParameterSources.cs

23 lines
812 B
C#
Raw Normal View History

2023-05-12 10:20:28 +08:00
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");
}
}
}