Creates the pl_flows and pl_logs collections with the correct schema and
API rules. Requires a superuser connection from pl_connect_admin().
This function is idempotent — safe to call multiple times.
Arguments
- conn
A superuser connection object from
pl_connect_admin().
Examples
if (FALSE) { # \dontrun{
conn_admin <- pl_connect_admin()
pl_setup(conn_admin)
} # }