demo20230512/Migrations/201502260233218_change_workhour_decimal.cs

21 lines
780 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 change_workhour_decimal : DbMigration
{
public override void Up()
{
AlterColumn("dbo.ProductLCAFabSurveyForm_WorkHours", "WorkerNumber", c => c.Decimal(nullable: false, precision: 18, scale: 6));
AlterColumn("dbo.ProductLCAFabSurveyForm_WorkHours", "WorkDay", c => c.Decimal(nullable: false, precision: 18, scale: 6));
}
public override void Down()
{
AlterColumn("dbo.ProductLCAFabSurveyForm_WorkHours", "WorkDay", c => c.Int(nullable: false));
AlterColumn("dbo.ProductLCAFabSurveyForm_WorkHours", "WorkerNumber", c => c.Int(nullable: false));
}
}
}