call transaction Dao events only after commit, added totalPages to the search response and updated the tests

This commit is contained in:
Gani Georgiev
2022-08-09 16:20:39 +03:00
parent 8288da8372
commit f8f785d6e3
9 changed files with 88 additions and 78 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ func init() {
`
func migrateCollectionsHandler(app core.App, args []string) error {
createArgs := []string{"collections_import"}
createArgs := []string{"collections_snapshot"}
createArgs = append(createArgs, args...)
dao := daos.New(app.DB())