We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd826a commit 6d821e0Copy full SHA for 6d821e0
sql/planbuilder/ddl.go
@@ -415,6 +415,7 @@ func (b *Builder) getIndexDefs(table sql.Table) sql.IndexDefs {
415
exprs := idx.Expressions()
416
columns := make([]sql.IndexColumn, len(exprs))
417
for i, col := range exprs {
418
+ col = col[strings.IndexByte(col, '.')+1:]
419
columns[i] = sql.IndexColumn{Name: col}
420
}
421
idxDefs = append(idxDefs, &sql.IndexDef{
0 commit comments