Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

feat(plugin): upgrade add user external login table

LinkinStars5e6fb1096ef7
diff --git a/internal/migrations/v7.go b/internal/migrations/v7.go
index 2faf6389..6a2d9b58 100644
--- a/internal/migrations/v7.go
+++ b/internal/migrations/v7.go
@@ -30,5 +30,5 @@ func addPlugin(x *xorm.Engine) error {
}
}
- return x.Sync(new(entity.PluginConfig))
+ return x.Sync(new(entity.PluginConfig), new(entity.UserExternalLogin))
}