add setup insert methods
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user