mirror of
https://github.com/h44z/wg-portal.git
synced 2025-12-14 10:36:18 +00:00
WIP: smaller docker image
This commit is contained in:
@@ -104,7 +104,7 @@ func (s *Server) Setup(ctx context.Context) error {
|
||||
if err != nil {
|
||||
return errors.WithMessage(err, "database setup failed")
|
||||
}
|
||||
err = common.MigrateDatabase(s.db, Version)
|
||||
err = common.MigrateDatabase(s.db, DatabaseVersion)
|
||||
if err != nil {
|
||||
return errors.WithMessage(err, "database migration failed")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user