btcpayserver/BTCPayServer/Migrations/20170926073744_Settings.cs

31 lines
874 B
C#
Raw Normal View History

2017-09-27 07:18:09 +02:00
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace BTCPayServer.Migrations
{
public partial class Settings : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Settings",
columns: table => new
{
2018-05-10 04:56:46 +02:00
Id = table.Column<string>(nullable: false),
Value = table.Column<string>(nullable: true)
2017-09-27 07:18:09 +02:00
},
constraints: table =>
{
table.PrimaryKey("PK_Settings", x => x.Id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Settings");
}
}
}