mahao
1 year ago
7 changed files with 5201 additions and 14 deletions
File diff suppressed because it is too large
@ -0,0 +1,53 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class _202308011 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "Version", |
||||
|
table: "Set_BBAC_SE_EDI", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(int), |
||||
|
oldType: "int"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<bool>( |
||||
|
name: "IsReturn", |
||||
|
table: "Set_BBAC_NOT_SA_DETAIL", |
||||
|
type: "bit", |
||||
|
maxLength: 50, |
||||
|
nullable: false, |
||||
|
defaultValue: false, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(50)", |
||||
|
oldMaxLength: 50, |
||||
|
oldNullable: true); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<int>( |
||||
|
name: "Version", |
||||
|
table: "Set_BBAC_SE_EDI", |
||||
|
type: "int", |
||||
|
nullable: false, |
||||
|
defaultValue: 0, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "IsReturn", |
||||
|
table: "Set_BBAC_NOT_SA_DETAIL", |
||||
|
type: "nvarchar(50)", |
||||
|
maxLength: 50, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(bool), |
||||
|
oldType: "bit", |
||||
|
oldMaxLength: 50); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue