Adventure Labs Logo
Scout Docs

Plans

Table for storing plans with instructions for herds

Column NameData TypeConstraints
idbigintNOT NULL
inserted_attimestamp with time zoneDEFAULT timezone('utc'::text, now())
nametextNOT NULL
instructionstextNOT NULL
herd_idbigintNOT NULL
plan_typepublic.plan_typeDEFAULT 'mission' NOT NULL

Security Policies (RLS)

This table has Row Level Security (RLS) enabled with the following policies:

  • Read Access: Device API keys within same herd OR users with view role in same herd
  • Create/Update/Delete: Device API keys within same herd OR users with edit role in same herd

On this page