mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Use correct database migration
This commit is contained in:
22
osu.Game/Migrations/20190913104727_AddBeatmapVideo.cs
Normal file
22
osu.Game/Migrations/20190913104727_AddBeatmapVideo.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace osu.Game.Migrations
|
||||
{
|
||||
public partial class AddBeatmapVideo : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "VideoFile",
|
||||
table: "BeatmapMetadata",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "VideoFile",
|
||||
table: "BeatmapMetadata");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user