Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | gen_random_uuid() |
|
|
Unique identifier. |
||||||||||||||
| tenant_id | uuid | 2147483647 | null |
|
|
Tenant identifier. |
||||||||||||||
| day_id | int4 | 10 | null |
|
|
|||||||||||||||
| name | text | 2147483647 | null |
|
|
|||||||||||||||
| zone_id | uuid | 2147483647 | √ | null |
|
|
||||||||||||||
| polygon | geometry | 2147483647 | null |
|
|
|||||||||||||||
| center | geometry | 2147483647 | √ | null |
|
|
||||||||||||||
| feature_id | uuid | 2147483647 | √ | null |
|
|
||||||||||||||
| created_at | timestamptz | 35,6 | now() |
|
|
DateTime the record was created. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PK_sms_scraper_daily_zone | Primary key | Asc | id |
| IX_sms_scraper_daily_zone_center | Performance | Asc | center |
| IX_sms_scraper_daily_zone_created_at | Performance | Asc | created_at |
| IX_sms_scraper_daily_zone_day_id | Performance | Asc | day_id |
| IX_sms_scraper_daily_zone_feature_id | Performance | Asc | feature_id |
| IX_sms_scraper_daily_zone_id | Must be unique | Asc | id |
| IX_sms_scraper_daily_zone_name | Performance | Asc | name |
| IX_sms_scraper_daily_zone_polygon | Performance | Asc | polygon |
| IX_sms_scraper_daily_zone_tenant_id | Performance | Asc | tenant_id |
| IX_sms_scraper_daily_zone_zone_id | Performance | Asc | zone_id |