mirror of
https://github.com/ppy/osu.git
synced 2024-12-27 21:02:55 +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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|