SQLPlayer.token is now a String instead of UUID
This commit is contained in:
parent
24d2ecfa33
commit
c1219336b5
@ -466,7 +466,6 @@ public abstract class SQLElement<E extends SQLElement<E>> {
|
||||
|
||||
public static final SQLType<Double> DOUBLE = new SQLType<>("DOUBLE", Double.class);
|
||||
|
||||
@Deprecated
|
||||
public static final SQLType<String> CHAR(int charCount) {
|
||||
if (charCount <= 0) throw new IllegalArgumentException("charCount must be positive.");
|
||||
return new SQLType<>("CHAR(" + charCount + ")", String.class);
|
||||
|
@ -33,7 +33,7 @@ public class SQLPlayer extends SQLElement<SQLPlayer> {
|
||||
*/
|
||||
public static final SQLField<SQLPlayer, UUID> playerId = field(CHAR36_UUID, false);
|
||||
public static final SQLField<SQLPlayer, String> playerName = field(VARCHAR(16), false);
|
||||
public static final SQLField<SQLPlayer, UUID> token = field(CHAR36_UUID, true);
|
||||
public static final SQLField<SQLPlayer, String> token = field(CHAR(36), true);
|
||||
public static final SQLField<SQLPlayer, String> mailCheck = field(VARCHAR(255), true);
|
||||
public static final SQLField<SQLPlayer, String> password = field(VARCHAR(255), true);
|
||||
public static final SQLField<SQLPlayer, String> mail = field(VARCHAR(255), true);
|
||||
|
Loading…
Reference in New Issue
Block a user