mirror of https://github.com/EasyAbp/EShop.git
6 changed files with 4592 additions and 3 deletions
File diff suppressed because it is too large
@ -0,0 +1,22 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
namespace EShopSample.Migrations |
||||
|
{ |
||||
|
public partial class AddedProductGroupNameToCouponTemplateScope : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<string>( |
||||
|
name: "ProductGroupName", |
||||
|
table: "CouponTemplateScope", |
||||
|
nullable: true); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "ProductGroupName", |
||||
|
table: "CouponTemplateScope"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue