Correlations: Add legacy storage (#112038)

This commit is contained in:
Ryan McKinley
2025-10-16 21:13:39 +03:00
committed by GitHub
parent bb08b2deea
commit bea45a94f0
17 changed files with 738 additions and 77 deletions
@@ -109,7 +109,7 @@ func TestIntegrationReadCorrelation(t *testing.T) {
var created int64 = 0
err := ctx.env.SQLStore.WithDbSession(context.Background(), func(sess *db.Session) error {
var innerError error
created, innerError = sess.InsertMulti(&[]correlations.Correlation{
created, innerError = sess.Omit("source_type", "target_type").InsertMulti(&[]correlations.Correlation{
{
UID: "uid-1",
SourceUID: dsWithoutCorrelations.UID,