feat ProviderAts autoMigrate
This commit is contained in:
parent
2e26da0a8a
commit
277d73739b
@ -175,7 +175,7 @@ func (p *providerArticleApi) BatchUpdate(articles []v2.ProviderArticle) error {
|
||||
}
|
||||
|
||||
func (p *providerArticleApi) AutoMigrate() error {
|
||||
return p.db.AutoMigrate(&v2.ProviderArticle{}, &v2.ProviderPrice{})
|
||||
return p.db.AutoMigrate(&v2.ProviderArticle{}, &v2.ProviderPrice{}, &v2.ProviderAts{})
|
||||
}
|
||||
|
||||
func (p *providerArticleApi) ProviderPrice(providerArticleID uint) (history []v2.ProviderPrice, err error) {
|
||||
|
Loading…
Reference in New Issue
Block a user