device_templates

0 rows


Description

Canned device configurations for use in cases where we want to show a list of possible devices to the user and create the selected device with the correct settings so that the device manager can talk to it.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id int8 19 null
category_id int4 10 null
device_template_categories.id device_templates_category_id_fkeyR
device_type text 2147483647 null
name text 2147483647 null
description text 2147483647 null
make text 2147483647 null
model text 2147483647 null
protocol text 2147483647 null
address text 2147483647 null
port int4 10 null
settings jsonb 2147483647 null
verbosity int4 10 null

Indexes

Constraint Name Type Sort Column(s)
device_templates_pkey Primary key Asc id
device_templates_category_id_name_key Must be unique Asc/Asc category_id + name

Check Constraints

Constraint Name Constraint
device_templates_protocol_check ((protocol !~ similar_to_escape(' *'::text)))
device_templates_description_check ((description !~ similar_to_escape(' *'::text)))
device_templates_address_check ((address !~ similar_to_escape(' *'::text)))

Relationships