mirror of
https://github.com/stashapp/stash.git
synced 2025-12-07 17:02:38 +01:00
* Add movie migration * Update server and UI code for type changes * Add studio to movies * Movie blobs to end * Document movie duration * Add filtering on movie studio
24 lines
648 B
Go
24 lines
648 B
Go
package models
|
|
|
|
import "database/sql"
|
|
|
|
type PerformersScenes struct {
|
|
PerformerID int `db:"performer_id" json:"performer_id"`
|
|
SceneID int `db:"scene_id" json:"scene_id"`
|
|
}
|
|
|
|
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 ScenesTags struct {
|
|
SceneID int `db:"scene_id" json:"scene_id"`
|
|
TagID int `db:"tag_id" json:"tag_id"`
|
|
}
|
|
|
|
type SceneMarkersTags struct {
|
|
SceneMarkerID int `db:"scene_marker_id" json:"scene_marker_id"`
|
|
TagID int `db:"tag_id" json:"tag_id"`
|
|
}
|