Skip to content

schema index not work with 23.1.0 #30

@cxcel

Description

@cxcel
schema := db.Schema()
schema.Type("User", func(user *dqlx.TypeBuilder) {
	user.String("name").IndexTerm()
	user.String("phone")
})


err = schema.Alter(ctx, dqlx.WithDropAllSchema(true))
if err != nil {
	panic(err)
}

schema index not work.
get chema from https://play.dgraph.io/?local :
: string .
: string .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions