Restore talkgroups from version table backup #43
amigan
commented 2024-11-20 22:43:24 -05:00
Owner
```
insert into talkgroups (system_id, tgid, name, alpha_tag, tg_group, frequency, metadata, tags, alert, alert_config, weight, learned, ignored) select system_id, tgid, name, alpha_tag, tg_group, frequency, metadata, tags, alert, alert_config, weight, learned, ignored from talkgroup_versions on conflict (system_id, tgid) do update set name = excluded.name, alpha_tag = excluded.alpha_tag, tg_group = excluded.tg_group, metadata = excluded.metadata, tags = excluded.tags, alert = excluded.alert, alert_config = excluded.alert_config, weight = excluded.weight, learned = excluded.learner, ignored = excluded.ignored;
```
amigan
added the 2024-11-20 22:43:24 -05:00
Kind/Enhancement
label
amigan
closed this issue 2024-11-21 07:43:14 -05:00
Labels
No labels
Compat/Breaking
Component
Backend
Component
UI
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Finish
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Priority
Pie-in-the-sky
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: amigan/stillbox#43
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?