贾荣国
3 years ago
9 changed files with 3087 additions and 39 deletions
File diff suppressed because it is too large
@ -0,0 +1,33 @@ |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
namespace Win_in.Sfs.Scp.WebApi.Migrations |
|||
{ |
|||
public partial class X12Asn5 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.RenameColumn( |
|||
name: "DataContent", |
|||
table: "WebApi_X12Asn", |
|||
newName: "JsonString"); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "EdiString", |
|||
table: "WebApi_X12Asn", |
|||
type: "nvarchar(max)", |
|||
nullable: true); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "EdiString", |
|||
table: "WebApi_X12Asn"); |
|||
|
|||
migrationBuilder.RenameColumn( |
|||
name: "JsonString", |
|||
table: "WebApi_X12Asn", |
|||
newName: "DataContent"); |
|||
} |
|||
} |
|||
} |
Loading…
Reference in new issue