mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
d050c8e3b2
* Boltcard integration * Add API for boltcard registration
40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
using BTCPayServer.Data;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace BTCPayServer.Migrations
|
|
{
|
|
[DbContext(typeof(ApplicationDbContext))]
|
|
[Migration("20230906135844_AddArchivedFlagForStoresAndApps")]
|
|
public partial class AddArchivedFlagForStoresAndApps : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "Archived",
|
|
table: "Stores",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "Archived",
|
|
table: "Apps",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Archived",
|
|
table: "Stores");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "Archived",
|
|
table: "Apps");
|
|
}
|
|
}
|
|
}
|