Schema for organization invitations.
Represents an invitation sent by an organization admin to a person (by email). The raw token is never stored — only the SHA-256 hash, following the UserToken pattern.
Summary
Functions
Changeset for accepting an invitation.
Changeset for cancelling an invitation. Only :pending invitations can be cancelled.
Changeset for creating a new invitation.
Changeset for declining an invitation.
Functions
Changeset for accepting an invitation.
Changeset for cancelling an invitation. Only :pending invitations can be cancelled.
Changeset for creating a new invitation.
Changeset for declining an invitation.