namespace Weee.Migrations { using System; using System.Data.Entity.Migrations; public partial class ProductLCAAddColumns : DbMigration { public override void Up() { AddColumn("dbo.ProductLCA", "HasProductLifeCycle_MaterialsObtained", c => c.Boolean(nullable: false, defaultValue: true)); AddColumn("dbo.ProductLCA", "HasProductLifeCycle_Manufacturing", c => c.Boolean(nullable: false, defaultValue: true)); AddColumn("dbo.ProductLCA", "HasProductLifeCycle_DeliverySales", c => c.Boolean(nullable: false, defaultValue: true)); AddColumn("dbo.ProductLCA", "HasProductLifeCycle_ProductUse", c => c.Boolean(nullable: false, defaultValue: true)); AddColumn("dbo.ProductLCA", "HasProductLifeCycle_Abandonment", c => c.Boolean(nullable: false, defaultValue: true)); } public override void Down() { DropColumn("dbo.ProductLCA", "HasProductLifeCycle_Abandonmente"); DropColumn("dbo.ProductLCA", "HasProductLifeCycle_ProductUse"); DropColumn("dbo.ProductLCA", "HasProductLifeCycle_DeliverySales"); DropColumn("dbo.ProductLCA", "HasProductLifeCycle_Manufacturing"); DropColumn("dbo.ProductLCA", "HasProductLifeCycle_MaterialsObtained"); } } }