23 lines
740 B
C#
23 lines
740 B
C#
namespace EgtBEAMWALL.DataLayer.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class FixMatItemCloudId : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.MaterialsList", "MatCloudId", c => c.Int(nullable: false));
|
|
AddColumn("dbo.RawItemList", "RawItemCloudId", c => c.Int(nullable: false));
|
|
DropColumn("dbo.MaterialsList", "MatExtId");
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
AddColumn("dbo.MaterialsList", "MatExtId", c => c.Int(nullable: false));
|
|
DropColumn("dbo.RawItemList", "RawItemCloudId");
|
|
DropColumn("dbo.MaterialsList", "MatCloudId");
|
|
}
|
|
}
|
|
}
|