21 lines
678 B
C#
21 lines
678 B
C#
|
namespace Weee.Migrations
|
|||
|
{
|
|||
|
using System;
|
|||
|
using System.Data.Entity.Migrations;
|
|||
|
|
|||
|
public partial class TransportAlterColumns : DbMigration
|
|||
|
{
|
|||
|
public override void Up()
|
|||
|
{
|
|||
|
RenameColumn("dbo.ProductLCAFabSurveyForm_Transports", "ParameterID", "NonYearlyParameterID");
|
|||
|
AddColumn("dbo.ProductLCAFabSurveyForm_Transports", "ParameterID", c => c.Int());
|
|||
|
}
|
|||
|
|
|||
|
public override void Down()
|
|||
|
{
|
|||
|
DropColumn("dbo.ProductLCAFabSurveyForm_Transports", "ParameterID");
|
|||
|
RenameColumn("dbo.ProductLCAFabSurveyForm_Transports", "NonYearlyParameterID", "ParameterID");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|