sms_teltonika_scraper_gps_data

53 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 gen_random_uuid()

Unique identifier.

tenant_id uuid 2147483647 null
tenants.id FK_sms_teltonika_scraper_gps_data_tenants_tenant_id C

Tenant identifier.

time timestamptz 35,6 null
coord geometry 2147483647 null
ign bool 1 null
dumpster_open bool 1 null
dozer_nearby bool 1 null
scraper_id uuid 2147483647 null
sms_machine.id FK_sms_teltonika_scraper_gps_data_sms_machine_scraper_id C
dozer_id uuid 2147483647 null
sms_machine.id FK_sms_teltonika_scraper_gps_data_sms_machine_dozer_id N
created_at timestamptz 35,6 now()

DateTime the record was created.

Indexes

Constraint Name Type Sort Column(s)
PK_sms_teltonika_scraper_gps_data Primary key Asc id
IX_sms_teltonika_scraper_gps_data_created_at Performance Asc created_at
IX_sms_teltonika_scraper_gps_data_dozer_id Performance Asc dozer_id
IX_sms_teltonika_scraper_gps_data_id Must be unique Asc id
IX_sms_teltonika_scraper_gps_data_tenant_id Performance Asc tenant_id
UQ_sms_teltonika_scraper_gps_data_scraperid_time Must be unique Asc/Asc scraper_id + time

Relationships