Fix constraint name regexp

This commit is contained in:
Jinzhu 2024-03-18 11:32:30 +08:00
parent 7b1fb0bd73
commit 281f3e369a
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import (
)
// reg match english letters and midline
var regEnLetterAndMidline = regexp.MustCompile("^[A-Za-z-_]+$")
var regEnLetterAndMidline = regexp.MustCompile("^[0-9A-Za-z-_]+$")
type CheckConstraint struct {
Name string