mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 20:16:36 -04:00
Remove TEXT DB type
This commit is contained in:
parent
755729937f
commit
2db4d92f69
@ -51,13 +51,13 @@ namespace MCGalaxy.SQL {
|
||||
static string[] colTypes = new string[] {
|
||||
"TINYINT UNSIGNED", "SMALLINT UNSIGNED", "MEDIUMINT UNSIGNED",
|
||||
"INT UNSIGNED", "BIGINT UNSIGNED", "TINYINT", "SMALLINT",
|
||||
"MEDIUMINT", "INT", "BIGINT", "INTEGER", "BOOL", "DATETIME", "TEXT"
|
||||
"MEDIUMINT", "INT", "BIGINT", "INTEGER", "BOOL", "DATETIME",
|
||||
};
|
||||
}
|
||||
|
||||
public enum ColumnType {
|
||||
UInt8, UInt16, UInt24, UInt32, UInt64,
|
||||
Int8, Int16, Int24, Int32, Int64,
|
||||
Integer, Bool, DateTime, Text, Char, VarChar
|
||||
Integer, Bool, DateTime, Char, VarChar
|
||||
}
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ namespace MCGalaxy {
|
||||
Database.Backend.AddColumn("Players", new ColumnDesc("totalCuboided", ColumnType.Int64), "totalBlocks");
|
||||
}
|
||||
if (!columns.CaselessContains("Messages")) {
|
||||
Database.Backend.AddColumn("Players", new ColumnDesc("Messages", ColumnType.UInt64), "title_color");
|
||||
Database.Backend.AddColumn("Players", new ColumnDesc("Messages", ColumnType.UInt24), "title_color");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user