diff --git a/tools/goctl/model/sql/parser/error.go b/tools/goctl/model/sql/parser/error.go index 57f56a0c..8d34dce7 100644 --- a/tools/goctl/model/sql/parser/error.go +++ b/tools/goctl/model/sql/parser/error.go @@ -7,5 +7,5 @@ import ( var ( unSupportDDL = errors.New("unexpected type") tableBodyIsNotFound = errors.New("create table spec not found") - errPrimaryKey = errors.New("unexpected joint primary key") + errPrimaryKey = errors.New("unexpected join primary key") )