22 lines
731 B
C#
22 lines
731 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Authinator.Migrations {
|
|||
|
/// <inheritdoc />
|
|||
|
public partial class _3DA5B7D13C1E496D9A3207EAFD2C09D7 : Migration {
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder) {
|
|||
|
migrationBuilder.CreateTable(name: "Config",
|
|||
|
columns: table => new {
|
|||
|
Key = table.Column<string>(type: "TEXT", nullable: false), Value = table.Column<string>(type: "TEXT", nullable: false)
|
|||
|
}, constraints: table => { table.PrimaryKey("PK_Config", x => x.Key); });
|
|||
|
}
|
|||
|
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder) {
|
|||
|
migrationBuilder.DropTable(name: "Config");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|