Basic server app with WS connection.
Some checks failed
Linting and tests / Linting (push) Failing after 37s

This commit is contained in:
2025-09-15 09:33:25 +05:00
parent 466b58b41d
commit 2c13e3f380
25 changed files with 928 additions and 27 deletions

View File

@@ -0,0 +1,17 @@
package options
import (
"embed"
"fmt"
)
//go:embed migrations
var migrations embed.FS
func (o *options) registerMigrations() error {
if err := o.db.RegisterMigrations("core/options", migrations); err != nil {
return fmt.Errorf("register migrations: %w", err)
}
return nil
}