Symplified migration using MigrateTable<> instead of commands

This commit is contained in:
tgi74000 2017-08-09 11:55:36 +02:00
parent c0642ad6d3
commit 8dd4f513e7

View File

@ -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;
}
}