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
33 lines
667 B
C#
33 lines
667 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace DataLayer.Migrations;
|
|
|
|
public partial class AddSeriesOrderString : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Index",
|
|
table: "SeriesBook");
|
|
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "Order",
|
|
table: "SeriesBook",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Order",
|
|
table: "SeriesBook");
|
|
|
|
migrationBuilder.AddColumn<float>(
|
|
name: "Index",
|
|
table: "SeriesBook",
|
|
type: "REAL",
|
|
nullable: true);
|
|
}
|
|
}
|