Remove that ALTER SQL statement.

This commit is contained in:
UnknownShadow200 2017-08-26 11:55:37 +10:00
parent 26e2483c66
commit d4cb1a9cb3

View File

@ -63,11 +63,6 @@ namespace MCGalaxy {
Database.Backend.CreateTable("Opstats", createOpstats);
Database.Backend.CreateTable("Players", createPlayers);
if (!File.Exists("extra/alter.txt") && ServerConfig.UseMySQL) {
Database.Execute("ALTER TABLE Players MODIFY Name TEXT");
Database.Execute("ALTER TABLE Opstats MODIFY Name TEXT");
File.Create("extra/alter.txt");
}
//since 5.5.11 we are cleaning up the table Playercmds
//if Playercmds exists copy-filter to Opstats and remove Playercmds