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

Commit

Permalink
example: mysql db changed
Browse files Browse the repository at this point in the history
  • Loading branch information
scbizu committed Apr 23, 2020
1 parent 88d7da1 commit 7b58d0f
Show file tree
Hide file tree
Showing 10 changed files with 988 additions and 999 deletions.
4 changes: 2 additions & 2 deletions example/model/gen.object.blog.go
Original file line number Diff line number Diff line change
Expand Up @@ -1214,9 +1214,9 @@ func (m *_BlogElasticMgr) IndexService() (*elastic.IndexService, error) {
_, err = m.PutMappingService().BodyJson(m.Mapping()).Do()
})

return ElasticClient().IndexService("ezorm").Type("blogs"), err
return ElasticClient().IndexService("testing").Type("blogs"), err
}

func (m *_BlogElasticMgr) PutMappingService() *elastic.PutMappingService {
return ElasticClient().PutMappingService("ezorm ").Type("blogs")
return ElasticClient().PutMappingService("testing ").Type("blogs")
}
Loading

0 comments on commit 7b58d0f

Please sign in to comment.