Skip to contents

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.

Usage

pl_setup(conn)

Arguments

conn

A superuser connection object from pl_connect_admin().

Value

Invisibly returns NULL.

Examples

if (FALSE) { # \dontrun{
conn_admin <- pl_connect_admin()
pl_setup(conn_admin)
} # }