add setup insert methods

This commit is contained in:
lbenedar
2026-04-16 18:30:00 +03:00
parent 69d3d38ab7
commit 1b7c7e9ae3
23 changed files with 818 additions and 144 deletions

View File

@@ -5,6 +5,8 @@ import (
"database/sql"
"errors"
"time"
"github.com/jmoiron/sqlx"
)
type StateType int
@@ -44,7 +46,7 @@ type Options struct {
}
type FoundryStateModel struct {
DB *sql.DB
DB *sqlx.DB
}
func (m FoundryStateModel) Insert(state *FoundryState) error {