fix: replace empty table name result in panic
This commit is contained in:
parent
e31a21bfc0
commit
a9c106f4c8
@ -120,7 +120,6 @@ func (ns NamingStrategy) toDBName(name string) string {
|
||||
}
|
||||
|
||||
if ns.NameReplacer != nil {
|
||||
|
||||
tmpName := ns.NameReplacer.Replace(name)
|
||||
|
||||
if tmpName == "" {
|
||||
|
Loading…
x
Reference in New Issue
Block a user