mahao
1 year ago
8 changed files with 4262 additions and 26 deletions
File diff suppressed because it is too large
@ -0,0 +1,163 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace Win.Sfs.SettleAccount.Migrations |
||||
|
{ |
||||
|
public partial class _202307181 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Site", |
||||
|
table: "Set_BBAC_CAN_SA"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "MaterialProperty", |
||||
|
table: "Set_relationship", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(36)", |
||||
|
oldMaxLength: 36); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend1", |
||||
|
table: "Set_PUB_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend2", |
||||
|
table: "Set_PUB_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend3", |
||||
|
table: "Set_PUB_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend4", |
||||
|
table: "Set_PUB_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend1", |
||||
|
table: "Set_HBPO_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend2", |
||||
|
table: "Set_HBPO_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend3", |
||||
|
table: "Set_HBPO_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend4", |
||||
|
table: "Set_HBPO_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend1", |
||||
|
table: "Set_BBAC_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend2", |
||||
|
table: "Set_BBAC_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend3", |
||||
|
table: "Set_BBAC_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Extend4", |
||||
|
table: "Set_BBAC_PD_DETAIL", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend1", |
||||
|
table: "Set_PUB_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend2", |
||||
|
table: "Set_PUB_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend3", |
||||
|
table: "Set_PUB_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend4", |
||||
|
table: "Set_PUB_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend1", |
||||
|
table: "Set_HBPO_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend2", |
||||
|
table: "Set_HBPO_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend3", |
||||
|
table: "Set_HBPO_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend4", |
||||
|
table: "Set_HBPO_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend1", |
||||
|
table: "Set_BBAC_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend2", |
||||
|
table: "Set_BBAC_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend3", |
||||
|
table: "Set_BBAC_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "Extend4", |
||||
|
table: "Set_BBAC_PD_DETAIL"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "MaterialProperty", |
||||
|
table: "Set_relationship", |
||||
|
type: "nvarchar(36)", |
||||
|
maxLength: 36, |
||||
|
nullable: false, |
||||
|
defaultValue: "", |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "nvarchar(max)", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "Site", |
||||
|
table: "Set_BBAC_CAN_SA", |
||||
|
type: "nvarchar(max)", |
||||
|
nullable: true); |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue