mirror of
https://github.com/ppy/osu
synced 2024-12-14 02:46:27 +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;
|
||||
case 3:
|
||||
// Added MD5Hash column to BeatmapInfo
|
||||
Connection.CreateCommand("ALTER TABLE BeatmapInfo ADD COLUMN MD5Hash varchar").ExecuteNonQuery();
|
||||
Connection.MigrateTable<BeatmapInfo>();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user