21 lines
780 B
C#
21 lines
780 B
C#
|
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));
|
||
|
}
|
||
|
}
|
||
|
}
|