From 252776ac8d6d32552d23a7ad3bf71f7b9e1f4953 Mon Sep 17 00:00:00 2001 From: silverqx Date: Sat, 31 Aug 2024 08:54:57 +0200 Subject: [PATCH] models bugfix belongsToMany<> relation name --- tests/models/models/torrent_returnrelation.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/models/models/torrent_returnrelation.hpp b/tests/models/models/torrent_returnrelation.hpp index a0c8e6212..45f6593cb 100644 --- a/tests/models/models/torrent_returnrelation.hpp +++ b/tests/models/models/torrent_returnrelation.hpp @@ -64,7 +64,7 @@ class Torrent_ReturnRelation final : // NOLINT(bugprone-exception-escape, misc-n // Custom 'Tagged' pivot model ✨ // Ownership of a unique_ptr() auto relation = belongsToMany( - "tag_torrent", "torrent_id", "tag_id", {}, {}, "tags"); + "tag_torrent", "torrent_id", "tag_id", {}, {}, "tagsCustom"); relation->as("tagged") .withPivot("active")