Skip to content

public.iot_credentials

Description

Labels

svc-portal

Columns

NameTypeDefaultNullableChildrenParentsComment
idintegernextval('iot_credentials_id_seq'::regclass)false
device_iduuidfalsepublic.devices
thing_namevarchar(128)false
certificate_arnvarchar(255)false
certificate_idvarchar(64)false
policy_namevarchar(128)false
statusvarchar(50)false
created_attimestamp with time zonefalse
updated_attimestamp with time zonefalse
last_connected_attimestamp with time zonetrue

Viewpoints

NameDefinition
Merchant HierarchyMulti-tenant hierarchy — PSP → Merchant → Store → Staff/Devices

Constraints

NameTypeDefinition
iot_credentials_device_id_fkeyFOREIGN KEYFOREIGN KEY (device_id) REFERENCES devices(device_id) ON DELETE CASCADE
iot_credentials_pkeyPRIMARY KEYPRIMARY KEY (id)

Indexes

NameDefinition
iot_credentials_pkeyCREATE UNIQUE INDEX iot_credentials_pkey ON public.iot_credentials USING btree (id)
ix_iot_credentials_certificate_idCREATE UNIQUE INDEX ix_iot_credentials_certificate_id ON public.iot_credentials USING btree (certificate_id)
ix_iot_credentials_device_idCREATE UNIQUE INDEX ix_iot_credentials_device_id ON public.iot_credentials USING btree (device_id)
ix_iot_credentials_thing_nameCREATE UNIQUE INDEX ix_iot_credentials_thing_name ON public.iot_credentials USING btree (thing_name)

Relations


Generated by tbls

MPAC — MP-Solution Advanced Cloud Service