SetInitialCategoryForumCounts
struct SetInitialCategoryForumCounts : AsyncMigrationA Migration that initializes the ForumCount field in each category. This migration should run after
all the migrations that generate forum threads.
- 
                  prepare(on:Asynchronous) Initializes the cached forumCountvalue in each category.DeclarationSwift func prepare(on database: Database) async throwsParametersdatabaseA connection to the database, provided automatically. Return ValueVoid. 
- 
                  revert(on:Asynchronous) DeclarationSwift func revert(on database: Database) async throws
 View on GitHub
            View on GitHub
           SetInitialCategoryForumCounts Structure Reference
      SetInitialCategoryForumCounts Structure Reference