fix: incorrect model in drop index
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dawid Wysokiński 2023-02-17 06:41:33 +01:00
parent b047325d09
commit 1197026968
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -60,7 +60,7 @@ func init() {
for _, idx := range indexes {
if _, err := db.NewDropIndex().
Model(&model.TribeChange{}).
Model(&model.Ennoblement{}).
Index(idx).
IfExists().
Concurrently().