CreateForumPostReactionSchema

struct CreateForumPostReactionSchema : AsyncMigration
  • prepare(on:) Asynchronous

    Creates reaction storage and the post lookup index used by snapshot reads and chip positioning.

    Declaration

    Swift

    func prepare(on database: Database) async throws
  • revert(on:) Asynchronous

    Declaration

    Swift

    func revert(on database: Database) async throws