30 lines
811 B
C#
30 lines
811 B
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
|
|
||
|
|
#nullable disable
|
||
|
|
|
||
|
|
namespace Meezi.Infrastructure.Data.Migrations
|
||
|
|
{
|
||
|
|
/// <inheritdoc />
|
||
|
|
public partial class AddSubscriptionPaymentProvider : Migration
|
||
|
|
{
|
||
|
|
/// <inheritdoc />
|
||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||
|
|
{
|
||
|
|
migrationBuilder.AddColumn<int>(
|
||
|
|
name: "Provider",
|
||
|
|
table: "SubscriptionPayments",
|
||
|
|
type: "integer",
|
||
|
|
nullable: false,
|
||
|
|
defaultValue: 0);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <inheritdoc />
|
||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||
|
|
{
|
||
|
|
migrationBuilder.DropColumn(
|
||
|
|
name: "Provider",
|
||
|
|
table: "SubscriptionPayments");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|