Fix table names
This commit is contained in:
parent
5019788865
commit
ca0a4cdf02
@ -15,7 +15,7 @@ public class SQLPermissions extends SQLElement<SQLPermissions> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String tableName() {
|
protected String tableName() {
|
||||||
return "pandacube_permissions";
|
return "permissions";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final SQLField<SQLPermissions, String> name = field(VARCHAR(64), false);
|
public static final SQLField<SQLPermissions, String> name = field(VARCHAR(64), false);
|
||||||
|
@ -25,7 +25,7 @@ public class SQLPlayer extends SQLElement<SQLPlayer> {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected String tableName() {
|
protected String tableName() {
|
||||||
return "pandacube_player";
|
return "player";
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -20,7 +20,7 @@ public class SQLPlayerIgnore extends SQLElement<SQLPlayerIgnore> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String tableName() {
|
protected String tableName() {
|
||||||
return "pandacube_player_ignore";
|
return "player_ignore";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final SQLFKField<SQLPlayerIgnore, UUID, SQLPlayer> ignorer = foreignKey(false, SQLPlayer.class, SQLPlayer.playerId);
|
public static final SQLFKField<SQLPlayerIgnore, UUID, SQLPlayer> ignorer = foreignKey(false, SQLPlayer.class, SQLPlayer.playerId);
|
||||||
|
@ -21,7 +21,7 @@ public class SQLPlayerNameHistory extends SQLElement<SQLPlayerNameHistory> {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String tableName() {
|
protected String tableName() {
|
||||||
return "pandacube_player_name_history";
|
return "player_name_history";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static final SQLFKField<SQLPlayerNameHistory, UUID, SQLPlayer> playerId = foreignKey(false, SQLPlayer.class, SQLPlayer.playerId);
|
public static final SQLFKField<SQLPlayerNameHistory, UUID, SQLPlayer> playerId = foreignKey(false, SQLPlayer.class, SQLPlayer.playerId);
|
||||||
|
Loading…
Reference in New Issue
Block a user