Skip to content
This repository was archived by the owner on Jul 14, 2022. It is now read-only.

Commit 7b58d0f

Browse files
committed
example: mysql db changed
1 parent 88d7da1 commit 7b58d0f

10 files changed

+988
-999
lines changed

example/model/gen.object.blog.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,9 +1214,9 @@ func (m *_BlogElasticMgr) IndexService() (*elastic.IndexService, error) {
12141214
_, err = m.PutMappingService().BodyJson(m.Mapping()).Do()
12151215
})
12161216

1217-
return ElasticClient().IndexService("ezorm").Type("blogs"), err
1217+
return ElasticClient().IndexService("testing").Type("blogs"), err
12181218
}
12191219

12201220
func (m *_BlogElasticMgr) PutMappingService() *elastic.PutMappingService {
1221-
return ElasticClient().PutMappingService("ezorm ").Type("blogs")
1221+
return ElasticClient().PutMappingService("testing ").Type("blogs")
12221222
}

0 commit comments

Comments
 (0)