fix: replace empty table name result in panic

This commit is contained in:
kinggo 2022-02-07 19:21:07 +08:00
parent e31a21bfc0
commit a9c106f4c8

View File

@ -120,7 +120,6 @@ func (ns NamingStrategy) toDBName(name string) string {
}
if ns.NameReplacer != nil {
tmpName := ns.NameReplacer.Replace(name)
if tmpName == "" {