mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-10-31 07:50:09 +01:00
Removed Table#createTable(String)
This commit is contained in:
parent
0ad7caa0a9
commit
ddca1574e8
@ -16,8 +16,6 @@
|
||||
*/
|
||||
package com.djrapitops.plan.db.sql.tables;
|
||||
|
||||
import com.djrapitops.plan.api.exceptions.database.DBInitException;
|
||||
import com.djrapitops.plan.api.exceptions.database.DBOpException;
|
||||
import com.djrapitops.plan.db.SQLDB;
|
||||
import com.djrapitops.plan.db.access.ExecStatement;
|
||||
import com.djrapitops.plan.db.access.QueryStatement;
|
||||
@ -51,14 +49,6 @@ public abstract class Table {
|
||||
this.supportsMySQLQueries = db != null && db.getType().supportsMySQLQueries();
|
||||
}
|
||||
|
||||
protected void createTable(String sql) throws DBInitException {
|
||||
try {
|
||||
db.execute(sql);
|
||||
} catch (DBOpException e) {
|
||||
throw new DBInitException("Failed to create table: " + tableName, e);
|
||||
}
|
||||
}
|
||||
|
||||
protected UUID getServerUUID() {
|
||||
return db.getServerUUIDSupplier().get();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user