mirror of
https://github.com/ppy/osu.git
synced 2024-11-18 17:23:22 +08:00
23 lines
591 B
C#
23 lines
591 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
namespace osu.Game.Migrations
|
|||
|
{
|
|||
|
public partial class AddUserIDColumn : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<long>(
|
|||
|
name: "UserID",
|
|||
|
table: "ScoreInfo",
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "UserID",
|
|||
|
table: "ScoreInfo");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|