mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Performer refactor (#3057)
* Separate performer model from sqlite model * Use GenderEnum for gender
This commit is contained in:
@@ -317,12 +317,6 @@ func (qb *SceneStore) Update(ctx context.Context, updatedObject *models.Scene) e
|
||||
}
|
||||
|
||||
func (qb *SceneStore) Destroy(ctx context.Context, id int) error {
|
||||
// delete all related table rows
|
||||
// TODO - this should be handled by a delete cascade
|
||||
if err := qb.performersRepository().destroy(ctx, []int{id}); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// scene markers should be handled prior to calling destroy
|
||||
// galleries should be handled prior to calling destroy
|
||||
|
||||
|
||||
Reference in New Issue
Block a user