Render CREATE INDEX without extra spaces
@@ -442,11 +442,11 @@ fn render_create_index(
let columns = columns.iter().map(|c| renderer.quote(c));
format!(
- "CREATE {} INDEX {} ON {}({})",
- index_type,
- index_name,
- table_reference,
- columns.join(",")
+ "CREATE {index_type}INDEX {index_name} ON {table_reference}({columns})",
+ index_type = index_type,
+ index_name = index_name,
+ table_reference = table_reference,
+ columns = columns.join(", ")
)
}
