mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-23 21:51:29 +00:00
26 lines
820 B
C#
26 lines
820 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using LBPUnion.ProjectLighthouse;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
namespace ProjectLighthouse.Migrations
|
|
{
|
|
[DbContext(typeof(Database))]
|
|
[Migration("20211020220840_ResourceList")]
|
|
public partial class ResourceList : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "Resource",
|
|
table: "Slots",
|
|
newName: "ResourceCollection");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "ResourceCollection",
|
|
table: "Slots",
|
|
newName: "Resource");
|
|
}
|
|
}
|
|
}
|