commit to rerun pipeline, comment changed
This commit is contained in:
parent
bd4ed43163
commit
27442d0e60
@ -27,7 +27,7 @@ type ModelStruct struct {
|
||||
defaultTableName string
|
||||
}
|
||||
|
||||
// TableName get model's table name
|
||||
// TableName returns model's table name
|
||||
func (s *ModelStruct) TableName(db *DB) string {
|
||||
if s.defaultTableName == "" && db != nil && s.ModelType != nil {
|
||||
// Set default table name
|
||||
|
Loading…
x
Reference in New Issue
Block a user