Updated the register logic in the TableFactory
This commit is contained in:
parent
3883d5f3d4
commit
f29731cdd2
@ -28,7 +28,7 @@ public class TableFactory {
|
||||
* @return this class
|
||||
*/
|
||||
public TableFactory register(SQLTable table) {
|
||||
connection.update(table.generateSQL());
|
||||
table.create();
|
||||
REGISTERED_TABLES.put(table.getClass(), table);
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user