Fix constraint name regexp
This commit is contained in:
parent
7b1fb0bd73
commit
281f3e369a
@ -8,7 +8,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// reg match english letters and midline
|
// reg match english letters and midline
|
||||||
var regEnLetterAndMidline = regexp.MustCompile("^[A-Za-z-_]+$")
|
var regEnLetterAndMidline = regexp.MustCompile("^[0-9A-Za-z-_]+$")
|
||||||
|
|
||||||
type CheckConstraint struct {
|
type CheckConstraint struct {
|
||||||
Name string
|
Name string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user