mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-05-09 16:16:13 -04:00
Make fields readonly Remove unnecessary casts Format document Remove unnecessary usings Sort usings Use file-level namespaces Order modifiers
27 lines
591 B
C#
27 lines
591 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace DataLayer.Migrations;
|
|
|
|
/// <inheritdoc />
|
|
public partial class AddAbsentFromLastScan : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "AbsentFromLastScan",
|
|
table: "LibraryBooks",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "AbsentFromLastScan",
|
|
table: "LibraryBooks");
|
|
}
|
|
}
|