From 7870491e0afefac69dd6986e52a42ab1d162fe4f Mon Sep 17 00:00:00 2001 From: Vadim Kuznetsov Date: Wed, 21 Aug 2024 18:32:57 +0300 Subject: [PATCH 1/2] fix: core data crash with inverse attribute (#69) --- .../DashboardCoreModel.xcdatamodel/contents | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dashboard/Dashboard/Data/Persistence/DashboardCoreModel.xcdatamodeld/DashboardCoreModel.xcdatamodel/contents b/Dashboard/Dashboard/Data/Persistence/DashboardCoreModel.xcdatamodeld/DashboardCoreModel.xcdatamodel/contents index 525156723..0582b44b3 100644 --- a/Dashboard/Dashboard/Data/Persistence/DashboardCoreModel.xcdatamodeld/DashboardCoreModel.xcdatamodel/contents +++ b/Dashboard/Dashboard/Data/Persistence/DashboardCoreModel.xcdatamodeld/DashboardCoreModel.xcdatamodel/contents @@ -1,5 +1,5 @@ - + @@ -7,6 +7,8 @@ + + @@ -54,12 +56,12 @@ - - + + - \ No newline at end of file + From 188cc6b658f53c8ef38010f82f5fe3c87461fff4 Mon Sep 17 00:00:00 2001 From: Anton Yarmolenko <37253+rnr@users.noreply.github.com> Date: Mon, 30 Sep 2024 11:35:30 +0200 Subject: [PATCH 2/2] chore: set deletetionRule as Cascade --- .../DashboardCoreModel.xcdatamodel/contents | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dashboard/Dashboard/Data/Persistence/DashboardCoreModel.xcdatamodeld/DashboardCoreModel.xcdatamodel/contents b/Dashboard/Dashboard/Data/Persistence/DashboardCoreModel.xcdatamodeld/DashboardCoreModel.xcdatamodel/contents index 874475053..65dbea3a0 100644 --- a/Dashboard/Dashboard/Data/Persistence/DashboardCoreModel.xcdatamodeld/DashboardCoreModel.xcdatamodel/contents +++ b/Dashboard/Dashboard/Data/Persistence/DashboardCoreModel.xcdatamodeld/DashboardCoreModel.xcdatamodel/contents @@ -1,5 +1,5 @@ - + @@ -7,8 +7,8 @@ - - + + @@ -56,12 +56,12 @@ - - + + - + \ No newline at end of file