File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
Umbraco.Infrastructure/Migrations
tests/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/Repositories Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,11 @@ public static class Tables
99
99
public const string WebhookLog = Webhook + "Log" ;
100
100
public const string WebhookRequest = Webhook + "Request" ;
101
101
102
- public const string LongRunningOperation = TableNamePrefix + "LongRunningOperation" ;
103
102
104
103
public const string RepositoryCacheVersion = TableNamePrefix + "RepositoryCacheVersion" ;
104
+ public const string LongRunningOperation = TableNamePrefix + "LongRunningOperation" ;
105
+
106
+ public const string LastSynced = TableNamePrefix + "LastSynced" ;
105
107
}
106
108
}
107
109
}
Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ public class DatabaseSchemaCreator
90
90
typeof ( WebhookLogDto ) ,
91
91
typeof ( WebhookRequestDto ) ,
92
92
typeof ( UserDataDto ) ,
93
+ typeof ( LongRunningOperationDto ) ,
94
+ typeof ( LastSyncedDto ) ,
93
95
typeof ( RepositoryCacheVersionDto ) ,
94
96
typeof ( LongRunningOperationDto ) ,
95
97
} ;
Original file line number Diff line number Diff line change @@ -123,5 +123,6 @@ protected virtual void DefinePlan()
123
123
// To 16.2.0
124
124
To < V_16_2_0 . AddLongRunningOperations > ( "{741C22CF-5FB8-4343-BF79-B97A58C2CCBA}" ) ;
125
125
To < V_16_2_0 . AddDocumentUrlLock > ( "{BE11D4D3-3A1F-4598-90D4-B548BD188C48}" ) ;
126
+ To < V_16_2_0 . AddLastSyncedTable > ( "26179D88-58CE-4C92-B4A4-3CBA6E7188AC" ) ;
126
127
}
127
128
}
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ private UserRepository CreateRepository(ICoreScopeProvider provider)
57
57
Options . Create ( new UserPasswordConfigurationSettings ( ) ) ,
58
58
new SystemTextJsonSerializer ( new DefaultJsonSerializerEncoderFactory ( ) ) ,
59
59
mockRuntimeState . Object ,
60
- PermissionMappers ,
61
- Mock . Of < IRepositoryCacheVersionService > ( ) ) ;
60
+ Mock . Of < IRepositoryCacheVersionService > ( ) ,
61
+ PermissionMappers ) ;
62
62
return repository ;
63
63
}
64
64
@@ -165,9 +165,8 @@ public void Can_Perform_Delete_On_UserRepository()
165
165
Options . Create ( new UserPasswordConfigurationSettings ( ) ) ,
166
166
new SystemTextJsonSerializer ( new DefaultJsonSerializerEncoderFactory ( ) ) ,
167
167
mockRuntimeState . Object ,
168
- PermissionMappers ,
169
- AppPolicyCache ,
170
- Mock . Of < IRepositoryCacheVersionService > ( ) ) ;
168
+ Mock . Of < IRepositoryCacheVersionService > ( ) ,
169
+ PermissionMappers ) ;
171
170
172
171
repository2 . Delete ( user ) ;
173
172
You can’t perform that action at this time.
0 commit comments