-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy path20190801065533_AddedCashfreePayment.cs
More file actions
23 lines (21 loc) · 1002 Bytes
/
20190801065533_AddedCashfreePayment.cs
File metadata and controls
23 lines (21 loc) · 1002 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 AddedCashfreePayment : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "Payments_PaymentProvider",
columns: new[] { "Id", "AdditionalSettings", "ConfigureUrl", "IsEnabled", "LandingViewComponentName", "Name" },
values: new object[] { "Cashfree", "{ \"IsSandbox\":true, \"AppId\":\"358035b02486f36ca27904540853\", \"SecretKey\":\"26f48dcd6a27f89f59f28e65849e587916dd57b9\" }", "payments-cashfree-config", true, "CashfreeLanding", "Cashfree Payment Gateway" });
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "Payments_PaymentProvider",
keyColumn: "Id",
keyValue: "Cashfree");
}
}
}