Xmtp.StorageContract (xmtp_elixir_sdk v0.1.2)

Copy Markdown

Describes the optional host-owned XMTP room mirror storage shape.

This package does not create or own product database tables. Host apps that use Xmtp.RoomServer copy the matching migration template into their own repo and own the resulting tables, retention policy, and product room rules.

Summary

Functions

migration_template_path()

@spec migration_template_path() :: String.t()

tables()

@spec tables() :: %{
  rooms: String.t(),
  memberships: String.t(),
  message_logs: String.t()
}

version()

@spec version() :: String.t()