mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 10:46:16 +01:00
17 lines
315 B
Go
17 lines
315 B
Go
package migrations
|
|
|
|
import (
|
|
"github.com/pocketbase/pocketbase/core"
|
|
m "github.com/pocketbase/pocketbase/migrations"
|
|
)
|
|
|
|
func init() {
|
|
m.Register(func(app core.App) error {
|
|
settings := app.Settings()
|
|
settings.Meta.AppName = "Beszel"
|
|
settings.Meta.HideControls = true
|
|
|
|
return app.Save(settings)
|
|
}, nil)
|
|
}
|