@Override
public Table create(JdbcIndex<?> index) {
Table table = getTableFactory().create(index);
if (exists(index)) {
throw new TableExistsException("Table for index " + index.getName() + " exists");
}
// TODO: sql independence
String sql =
String.format("CREATE TABLE `%s` ( %s );", table.getName(), new TableElementCompiler(table).toSql());