mirror of
https://github.com/ppy/osu.git
synced 2024-12-25 16:52:55 +08:00
d48fae1100
This reverts commit bb5b9458e8
.
24 lines
716 B
C#
24 lines
716 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using osu.Game.Database;
|
|
|
|
namespace osu.Game.Migrations
|
|
{
|
|
[DbContext(typeof(OsuDbContext))]
|
|
[Migration("20211020081609_ResetSkinHashes")]
|
|
public partial class ResetSkinHashes : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.Sql($"UPDATE SkinInfo SET Hash = null");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
}
|
|
}
|
|
}
|