Normandy.Behaviours.SessionStore.Postgres
(normandy v1.1.0)
View Source
Durable, cluster-shared SessionStore over Postgres (Ecto). The handle is the
host's Ecto Repo module. Conversation content and opaque turn_state are stored
as Erlang terms (term_to_binary). Entries are a global parent-linked forest, so
fork/3 shares ancestors instead of copying.
Configure via {Normandy.Behaviours.SessionStore.Postgres, repo: MyApp.Repo} and
run Normandy.Behaviours.SessionStore.Postgres.Migration from a host migration.
Summary
Functions
@spec new() :: module()
Test/default handle: the Repo configured for :normandy. Returns the Repo module.