-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy path20190314044223_AddedNganLuongPayment.cs
More file actions
23 lines (21 loc) · 1021 Bytes
/
20190314044223_AddedNganLuongPayment.cs
File metadata and controls
23 lines (21 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using Microsoft.EntityFrameworkCore.Migrations;
namespace SimplCommerce.Db.MsSql.Migrations
{
public partial class AddedNganLuongPayment : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "Payments_PaymentProvider",
columns: new[] { "Id", "AdditionalSettings", "ConfigureUrl", "IsEnabled", "LandingViewComponentName", "Name" },
values: new object[] { "NganLuong", "{\"IsSandbox\":true, \"MerchantId\": 47249, \"MerchantPassword\": \"e530745693dbde678f9da98a7c821a07\", \"ReceiverEmail\": \"nlqthien@gmail.com\"}", "payments-nganluong-config", true, "NganLuongLanding", "Ngan Luong Payment" });
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "Payments_PaymentProvider",
keyColumn: "Id",
keyValue: "NganLuong");
}
}
}