mirror of
https://github.com/ppy/osu
synced 2024-12-30 10:52:30 +00: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");
|
|
}
|
|
}
|
|
}
|