Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | int4 | 10 | √ | null |
|
|
|||||
| calendar_id | int4 | 10 | null |
|
|
||||||
| source_type | text | 2147483647 | 'ics_url'::text |
|
|
||||||
| name | text | 2147483647 | √ | null |
|
|
|||||
| ics_url | text | 2147483647 | √ | null |
|
|
Public/secret .ics feed URL (Google Calendar “Secret address in iCal format” / Outlook “Publish”). |
||||
| auto_sync | bool | 1 | false |
|
|
Reserved for a future pg_cron auto-sync job; manual import only for now. |
|||||
| last_sync_at | timestamptz | 35,6 | √ | null |
|
|
|||||
| last_sync_status | text | 2147483647 | √ | null |
|
|
|||||
| last_sync_message | text | 2147483647 | √ | null |
|
|
|||||
| last_event_count | int4 | 10 | √ | null |
|
|
|||||
| enabled | bool | 1 | true |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| calendar_source_pkey | Primary key | Asc | id |
| calendar_source_calendar_id_idx | Performance | Asc | calendar_id |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| calendar_source_type_chk | (source_type = 'ics_url'::text) |
