sms_fixed_zone_algo_result

-1 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_fixed_zone_algo_result_tenants_tenant_id C

Tenant identifier.

day_id int4 10 null
shift_day_id uuid 2147483647 null
sms_shift_day.id FK_sms_fixed_zone_algo_result_sms_shift_day_shift_day_id N
machine_id uuid 2147483647 null
sms_machine.id FK_sms_fixed_zone_algo_result_sms_machine_machine_id R
zone_id uuid 2147483647 null
sms_zone.id FK_sms_fixed_zone_algo_result_sms_zone_zone_id N
type text 2147483647 null
start_date timestamptz 35,6 null
duration int4 10 null
distance float8 17,17 null
created_at timestamptz 35,6 now()

DateTime the record was created.

shift_day_name text 2147483647 null

Indexes

Constraint Name Type Sort Column(s)
PK_sms_fixed_zone_algo_result Primary key Asc id
IX_sms_fixed_zone_algo_result_created_at Performance Asc created_at
IX_sms_fixed_zone_algo_result_day_id Performance Asc day_id
IX_sms_fixed_zone_algo_result_id Must be unique Asc id
IX_sms_fixed_zone_algo_result_shift_day_id Performance Asc shift_day_id
IX_sms_fixed_zone_algo_result_tenant_id Performance Asc tenant_id
IX_sms_fixed_zone_algo_result_type Performance Asc type
IX_sms_fixed_zone_algo_result_zone_id Performance Asc zone_id
UQ_sms_fixed_zone_algo_result_machineid_startdate Must be unique Asc/Asc machine_id + start_date

Relationships