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)

RLS enabled. Herd scope: Herd from plans.herd_id.

Operationhas_herd_ability ability keyOther paths
SELECTmap.readDevice API keys in herd
INSERTmap.writeDevice API keys in herd
UPDATEmap.writeDevice API keys in herd
DELETEmap.writeDevice API keys in herd

Platform superadmin: FOR ALL bypass where defined.

On this page