mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-03-26 10:52:04 -04:00
Make fields readonly Remove unnecessary casts Format document Remove unnecessary usings Sort usings Use file-level namespaces Order modifiers
27 lines
566 B
C#
27 lines
566 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using System;
|
|
|
|
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");
|
|
}
|
|
}
|