mirror of
https://github.com/stashapp/stash.git
synced 2025-12-08 09:23:38 +01:00
* Move query builders to sqlite package * Add transaction system * Wrap model resolvers in transaction * Add error return value for StringSliceToIntSlice * Update/refactor mutation resolvers * Convert query builders * Remove unused join types * Add stash id unit tests * Use WAL journal mode
14 lines
371 B
Go
14 lines
371 B
Go
package models
|
|
|
|
import "database/sql"
|
|
|
|
type MoviesScenes struct {
|
|
MovieID int `db:"movie_id" json:"movie_id"`
|
|
SceneID int `db:"scene_id" json:"scene_id"`
|
|
SceneIndex sql.NullInt64 `db:"scene_index" json:"scene_index"`
|
|
}
|
|
|
|
type StashID struct {
|
|
StashID string `db:"stash_id" json:"stash_id"`
|
|
Endpoint string `db:"endpoint" json:"endpoint"`
|
|
}
|