mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Symplified migration using MigrateTable<> instead of commands
This commit is contained in:
parent
c0642ad6d3
commit
8dd4f513e7
@ -79,7 +79,7 @@ namespace osu.Game.Beatmaps
|
|||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
// Added MD5Hash column to BeatmapInfo
|
// Added MD5Hash column to BeatmapInfo
|
||||||
Connection.CreateCommand("ALTER TABLE BeatmapInfo ADD COLUMN MD5Hash varchar").ExecuteNonQuery();
|
Connection.MigrateTable<BeatmapInfo>();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user