mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-05-06 22:57:36 -04:00
30 lines
757 B
C#
30 lines
757 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace DataLayer.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddIncludedUntil : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<DateTime>(
|
|
name: "IncludedUntil",
|
|
table: "LibraryBooks",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "IncludedUntil",
|
|
table: "LibraryBooks");
|
|
}
|
|
}
|
|
}
|