I define schema in fullsaveassociations save func. But this schema affects only master entity, child entites did not affected. How we can set this schema for all entities including master and childs ?
maybe something like this; tx.WithContext(ctx).Schema("schemaName").Session(&gorm.Session{FullSaveAssociations: true}).Save(payment)
code examples, documents