Fix table names

This commit is contained in:
Marc Baloup 2021-03-21 22:40:05 +01:00
parent 5019788865
commit ca0a4cdf02
Signed by: marcbal
GPG Key ID: BBC0FE3ABC30B893
4 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ public class SQLPermissions extends SQLElement<SQLPermissions> {
@Override
protected String tableName() {
return "pandacube_permissions";
return "permissions";
}
public static final SQLField<SQLPermissions, String> name = field(VARCHAR(64), false);

View File

@ -25,7 +25,7 @@ public class SQLPlayer extends SQLElement<SQLPlayer> {
*/
@Override
protected String tableName() {
return "pandacube_player";
return "player";
}
/*

View File

@ -20,7 +20,7 @@ public class SQLPlayerIgnore extends SQLElement<SQLPlayerIgnore> {
@Override
protected String tableName() {
return "pandacube_player_ignore";
return "player_ignore";
}
public static final SQLFKField<SQLPlayerIgnore, UUID, SQLPlayer> ignorer = foreignKey(false, SQLPlayer.class, SQLPlayer.playerId);

View File

@ -21,7 +21,7 @@ public class SQLPlayerNameHistory extends SQLElement<SQLPlayerNameHistory> {
@Override
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);